Added method to put focus on group, entry or inspector view via keyboard shortcuts. This might be better done via a simple "cmd + arrow" shortcut to move about

This commit is contained in:
michael starke
2013-11-27 01:04:06 +01:00
parent 839c87102c
commit 213bb3d51f
6 changed files with 53 additions and 6 deletions

View File

@@ -125,7 +125,7 @@ NSString *const _MPTAbleSecurCellView = @"PasswordCell";
- (void)didLoadView {
[[self view] setWantsLayer:YES];
[self _hideFilterBarAnimated];
[_bottomBar setBorderType:HNHBorderTop];
[self.addEntryButton setAction:[MPActionHelper actionOfType:MPActionAddEntry]];
@@ -195,6 +195,10 @@ NSString *const _MPTAbleSecurCellView = @"PasswordCell";
}
- (NSResponder *)reconmendedFirstResponder {
return self.entryTable;
}
- (void)setupNotifications:(MPDocumentWindowController *)windowController {
MPDocument *document = [windowController document];
[[NSNotificationCenter defaultCenter] addObserver:self