]> git.sesse.net Git - vlc/commitdiff
macosx: fixed wrong behavior of the drop zone introduced in [7f63022f8a94871fd6ca1be2...
authorFelix Paul Kühne <fkuehne@videolan.org>
Fri, 17 Feb 2012 08:15:22 +0000 (09:15 +0100)
committerFelix Paul Kühne <fkuehne@videolan.org>
Fri, 17 Feb 2012 08:15:22 +0000 (09:15 +0100)
modules/gui/macosx/MainWindow.m

index 170440bc702cbd79330da596f05f8495a0a8f3a0..c0bde07659960fcc7ded66c702da2032bc50b089 100644 (file)
@@ -562,11 +562,10 @@ static VLCMainWindow *_o_sharedInstance = nil;
 
 - (IBAction)togglePlaylist:(id)sender
 {
-    if (b_dropzone_active)
+    if (b_dropzone_active && ![[VLCMain sharedInstance] activeVideoPlayback])
     {
         b_dropzone_active = NO;
         [self hideDropZone];
-        return;
     }
 
     if (!b_nonembedded)