diff options
Diffstat (limited to 'Source/SPAppController.m')
-rw-r--r-- | Source/SPAppController.m | 13 |
1 files changed, 12 insertions, 1 deletions
diff --git a/Source/SPAppController.m b/Source/SPAppController.m index 49f8c201..86c5fe38 100644 --- a/Source/SPAppController.m +++ b/Source/SPAppController.m @@ -27,6 +27,7 @@ #import "SPAppController.h" #import "TableDocument.h" #import "SPPreferenceController.h" +#import "SPAboutController.h" #import "TableDump.h" #import "SPEncodingPopupAccessory.h" #import "SPConstants.h" @@ -295,7 +296,17 @@ #pragma mark IBAction methods /** - * Opens the preferences window + * Opens the about panel. + */ +- (IBAction)openAboutPanel:(id)sender +{ + if (!aboutController) aboutController = [[SPAboutController alloc] init]; + + [aboutController showWindow:self]; +} + +/** + * Opens the preferences window. */ - (IBAction)openPreferences:(id)sender { |