diff options
author | stuconnolly <stuart02@gmail.com> | 2010-03-10 14:51:47 +0000 |
---|---|---|
committer | stuconnolly <stuart02@gmail.com> | 2010-03-10 14:51:47 +0000 |
commit | 2946f03889ee2ba248208bf10313ded6bcb2f287 (patch) | |
tree | b2a7aab14ee4fb5bf0cd7dc89eec24943176f625 /Source/SPAppController.m | |
parent | f8f8a867b96a5559a136bfa3e671788e6fd4a31c (diff) | |
download | sequelpro-2946f03889ee2ba248208bf10313ded6bcb2f287.tar.gz sequelpro-2946f03889ee2ba248208bf10313ded6bcb2f287.tar.bz2 sequelpro-2946f03889ee2ba248208bf10313ded6bcb2f287.zip |
Add a 'Keyboard Shortcuts' menu item to the 'Help' menu which opens the page http://www.sequelpro.com/docs/Keyboard_Shortcuts.
Diffstat (limited to 'Source/SPAppController.m')
-rw-r--r-- | Source/SPAppController.m | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/Source/SPAppController.m b/Source/SPAppController.m index 7c5db4eb..5a515f02 100644 --- a/Source/SPAppController.m +++ b/Source/SPAppController.m @@ -414,6 +414,14 @@ [[NSWorkspace sharedWorkspace] openURL:[NSURL URLWithString:SPContactURL]]; } +/** + * Opens the 'Keyboard Shortcuts' page in the default browser. + */ +- (IBAction)viewKeyboardShortcuts:(id)sender +{ + [[NSWorkspace sharedWorkspace] openURL:[NSURL URLWithString:SPKeyboardShortcutsURL]]; +} + #pragma mark - #pragma mark Feedback reporter delegate methods |