mirror of
https://github.com/MacPass/MacPass.git
synced 2025-12-14 12:52:21 +00:00
Merged deleteGroup and deleteEntry call into delteNode
This commit is contained in:
@@ -382,7 +382,7 @@ NSString *const _MPTableSecurCellView = @"PasswordCell";
|
||||
if(entry) {
|
||||
return entry;
|
||||
}
|
||||
MPDocument *document = [[self windowController] document];
|
||||
MPDocument *document = self.windowController.document;
|
||||
return document.selectedItem;
|
||||
}
|
||||
|
||||
@@ -702,8 +702,9 @@ NSString *const _MPTableSecurCellView = @"PasswordCell";
|
||||
if(!entry) {
|
||||
return;
|
||||
}
|
||||
MPDocument *document = [[self windowController] document];
|
||||
[document deleteEntry:entry];
|
||||
|
||||
MPDocument *document = self.windowController.document;
|
||||
[document deleteNode:entry];
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user