vlc | branch: master | Felix Paul Kühne <[email protected]> | Fri Feb 17 
09:15:22 2012 +0100| [a2bd73d9b1daeca20684fbc5687b21e1088c3001] | committer: 
Felix Paul Kühne

macosx: fixed wrong behavior of the drop zone introduced in 
[7f63022f8a94871fd6ca1be2c9c69660ff1d7f6e] (close #6071)

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=a2bd73d9b1daeca20684fbc5687b21e1088c3001
---

 modules/gui/macosx/MainWindow.m |    3 +--
 1 files changed, 1 insertions(+), 2 deletions(-)

diff --git a/modules/gui/macosx/MainWindow.m b/modules/gui/macosx/MainWindow.m
index 170440b..c0bde07 100644
--- a/modules/gui/macosx/MainWindow.m
+++ b/modules/gui/macosx/MainWindow.m
@@ -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)

_______________________________________________
vlc-commits mailing list
[email protected]
http://mailman.videolan.org/listinfo/vlc-commits

Reply via email to