Bind Opt+F1 to show bundle item popup.

This commit is contained in:
Adam Strzelecki
2012-08-13 20:36:50 +02:00
committed by Allan Odgaard
parent 752430f339
commit 6763406fe5
2 changed files with 7 additions and 0 deletions

View File

@@ -1507,6 +1507,12 @@ static void update_menu_key_equivalents (NSMenu* menu, action_to_key_t const& ac
[self setShowLiveSearch:YES];
}
- (IBAction)showBundlesMenu:(id)sender
{
OakDocumentView* documentView = (OakDocumentView*)[[self enclosingScrollView] superview];
[documentView performSelector:@selector(showBundleItemSelector:) withObject:nil];
}
- (IBAction)findNext:(id)sender
{
if(liveSearchViewController)