Fixed missing binding to enable trahs in settings tab

Updated copy/drag and drop to changed KeePassKit
This commit is contained in:
michael starke
2013-12-20 19:50:23 +01:00
parent aa52079664
commit 37f7f8123a
6 changed files with 11 additions and 10 deletions

View File

@@ -365,7 +365,7 @@ NSString *const _MPTAbleSecurCellView = @"PasswordCell";
- (void)_updateContextBar {
MPDocument *document = [[self windowController] document];
if(![self.contextBarViewController hasFilter]) {
BOOL showTrash = (document.selectedGroup == document.trash || [document isItemTrashed:document.selectedItem]);
BOOL showTrash = document.useTrash && (document.selectedGroup == document.trash || [document isItemTrashed:document.selectedItem]);
if(showTrash) {
[self _showTrashBar];
}