diff --git a/MacPass/Base.lproj/MainMenu.xib b/MacPass/Base.lproj/MainMenu.xib index 4aa05e8f..1905c94f 100644 --- a/MacPass/Base.lproj/MainMenu.xib +++ b/MacPass/Base.lproj/MainMenu.xib @@ -1,5 +1,5 @@ - + @@ -306,7 +306,7 @@ - + diff --git a/MacPass/MPAppDelegate.h b/MacPass/MPAppDelegate.h index 064dc769..815c24bd 100644 --- a/MacPass/MPAppDelegate.h +++ b/MacPass/MPAppDelegate.h @@ -38,6 +38,7 @@ APPKIT_EXTERN NSString *const MPDidChangeStoredKeyFilesSettings; - (IBAction)showPasswordCreator:(id)sender; - (IBAction)createNewDatabase:(id)sender; - (IBAction)openDatabase:(id)sender; +- (IBAction)showHelp:(id)sender; /** * Clears the stored key files for any documents. * @param sender sender of this action diff --git a/MacPass/MPAppDelegate.m b/MacPass/MPAppDelegate.m index 02838738..27b16534 100644 --- a/MacPass/MPAppDelegate.m +++ b/MacPass/MPAppDelegate.m @@ -224,6 +224,9 @@ NSString *const MPDidChangeStoredKeyFilesSettings = @"com.hicknhack.macpass.MPDi [[NSUserDefaults standardUserDefaults] removeObjectForKey:kMPSettingsKeyRememeberdKeysForDatabases]; } +- (void)showHelp:(id)sender { + [[NSWorkspace sharedWorkspace] openURL:[NSURL URLWithString:@"https://github.com/mstarke/MacPass"]]; +} #pragma mark - #pragma mark Private Helper