Fixed the state for the playlists menu item to show the currently playing playlist.
[MenuTunes.git] / StatusItemHack.m
index 296d185..d493046 100755 (executable)
@@ -1,5 +1,5 @@
 #import "StatusItemHack.h"
-#import "NewMainController.h"
+#import "MainController.h"
 
 @implementation StatusItemHack
 
@@ -10,7 +10,9 @@
 
 - (void)mouseDown:(NSEvent *)event
 {
-    [[MainController sharedController] menuClicked];
+       if ([self isEnabled]) {
+               [[MainController sharedController] menuClicked];
+       }
     [super mouseDown:event];
 }