From 53a760dd8d1249f4e4cbcabb4c07efdfcb29ba2d Mon Sep 17 00:00:00 2001 From: Kent Sutherland Date: Sun, 7 Nov 2004 19:28:48 +0000 Subject: [PATCH] Double-clicking the app icon opens the prefs. --- MainController.m | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/MainController.m b/MainController.m index 93fb677..44e766b 100755 --- a/MainController.m +++ b/MainController.m @@ -175,6 +175,11 @@ static MainController *sharedController; [NSApp deactivate]; } +- (void)applicationDidBecomeActive:(NSNotification *)note +{ + [[MainController sharedController] showPreferences]; +} + - (ITMTRemote *)loadRemote { NSString *folderPath = [[NSBundle mainBundle] builtInPlugInsPath]; -- 2.20.1