From a2bd73d9b1daeca20684fbc5687b21e1088c3001 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Felix=20Paul=20K=C3=BChne?= Date: Fri, 17 Feb 2012 09:15:22 +0100 Subject: [PATCH] macosx: fixed wrong behavior of the drop zone introduced in [7f63022f8a94871fd6ca1be2c9c69660ff1d7f6e] (close #6071) --- modules/gui/macosx/MainWindow.m | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/modules/gui/macosx/MainWindow.m b/modules/gui/macosx/MainWindow.m index 170440bc70..c0bde07659 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) -- 2.39.2