summaryrefslogtreecommitdiffstats
path: root/macosx/HBController.m
diff options
context:
space:
mode:
authorDamiano Galassi <[email protected]>2015-12-12 08:30:21 +0100
committerDamiano Galassi <[email protected]>2015-12-12 08:30:21 +0100
commitdb8836d96853d0be19f90dfa41bdd78f0cc14534 (patch)
treefdf1e78e206dc5b08477bc44fb03d2cff26f7e6e /macosx/HBController.m
parent3443f6af431934efffdf22ffacc04b7f7ed4b375 (diff)
MacGui: add a 'view' menu with the standard menu items and some keyboard shortcuts to switch between the main window tabs.
Diffstat (limited to 'macosx/HBController.m')
-rw-r--r--macosx/HBController.m6
1 files changed, 6 insertions, 0 deletions
diff --git a/macosx/HBController.m b/macosx/HBController.m
index 9fcc8d20f..df2b90863 100644
--- a/macosx/HBController.m
+++ b/macosx/HBController.m
@@ -1340,6 +1340,12 @@
[fPreviewController showWindow:sender];
}
+- (IBAction)showTabView:(id)sender
+{
+ NSInteger tag = [sender tag];
+ [fMainTabView selectTabViewItemAtIndex:tag];
+}
+
#pragma mark - Presets View Controller Delegate
- (void)selectionDidChange