mirror of
https://github.com/MacPass/MacPass.git
synced 2025-12-15 23:52:16 +00:00
removed unused code
This commit is contained in:
@@ -438,15 +438,6 @@ NSString *const _MPTableSecurCellView = @"PasswordCell";
|
|||||||
- (void)_didBecomFirstResponder:(NSNotification *)notification {
|
- (void)_didBecomFirstResponder:(NSNotification *)notification {
|
||||||
MPDocument *document = self.windowController.document;
|
MPDocument *document = self.windowController.document;
|
||||||
document.selectedEntries = self.entryArrayController.selectedObjects;
|
document.selectedEntries = self.entryArrayController.selectedObjects;
|
||||||
|
|
||||||
/*
|
|
||||||
if(document.selectedEntry.parent == document.selectedGroup || document.hasSearch) {
|
|
||||||
document.selectedItem = document.selectedEntry;
|
|
||||||
}
|
|
||||||
else {
|
|
||||||
document.selectedEntry = nil;
|
|
||||||
}
|
|
||||||
*/
|
|
||||||
}
|
}
|
||||||
|
|
||||||
- (void)_didAddItem:(NSNotification *)notification {
|
- (void)_didAddItem:(NSNotification *)notification {
|
||||||
|
|||||||
@@ -45,9 +45,4 @@
|
|||||||
_didBecomeFirstResponder = YES;
|
_didBecomeFirstResponder = YES;
|
||||||
return YES;
|
return YES;
|
||||||
}
|
}
|
||||||
|
|
||||||
- (BOOL)resignFirstResponder {
|
|
||||||
return [super resignFirstResponder];
|
|
||||||
}
|
|
||||||
|
|
||||||
@end
|
@end
|
||||||
|
|||||||
Reference in New Issue
Block a user