The status item is disabled while the menu is being updated
[MenuTunes.git] / MainController.m
index 9d2e3cc..a8c28d0 100755 (executable)
@@ -358,6 +358,7 @@ static MainController *sharedController;
         }
         
         timerUpdating = YES;
+        [_statusItem setEnabled:NO];
         
         NS_DURING
             latestPlaylistClass = [[self currentRemote] currentPlaylistClass];
@@ -391,6 +392,7 @@ static MainController *sharedController;
         NS_ENDHANDLER
         
         timerUpdating = NO;
+        [_statusItem setEnabled:YES];
     }
 }