No idea what I changed, but I'm trying to fix the crash.
authorKent Sutherland <ksuther@ithinksw.com>
Sat, 11 Sep 2004 02:39:56 +0000 (02:39 +0000)
committerKent Sutherland <ksuther@ithinksw.com>
Sat, 11 Sep 2004 02:39:56 +0000 (02:39 +0000)
MainController.m

index 8784dd1..157b97a 100755 (executable)
@@ -358,12 +358,16 @@ static MainController *sharedController;
 - (void)timerUpdate
 {
        if ([[self currentRemote] playerStateUniqueIdentifier] == nil) {
+               if ([statusItem isEnabled]) {
+                       [statusItem setToolTip:@"iTunes not responding."];
+                       [self clearHotKeys];
+               }
                [statusItem setEnabled:NO];
-               [statusItem setToolTip:@"iTunes not responding."];
                return;
        } else if (![statusItem isEnabled]) {
                [statusItem setEnabled:YES];
                [statusItem setToolTip:_toolTip];
+               [self setupHotKeys];
                return;
        }