Commit d5922c52 authored by David Fuhrmann's avatar David Fuhrmann

macosx: when we currently play a video in detached window, allow a 'show playlist', too

(cherry picked from commit df071469ea293d66d4d4288f16150b76902ba86e)
Signed-off-by: default avatarDavid Fuhrmann <david.fuhrmann@googlemail.com>
parent 78543b89
...@@ -637,7 +637,7 @@ static VLCMainWindow *_o_sharedInstance = nil; ...@@ -637,7 +637,7 @@ static VLCMainWindow *_o_sharedInstance = nil;
{ {
BOOL b_activeVideo = [[VLCMain sharedInstance] activeVideoPlayback]; BOOL b_activeVideo = [[VLCMain sharedInstance] activeVideoPlayback];
if ( ((([[NSApp currentEvent] modifierFlags] & NSAlternateKeyMask) != 0) && !b_splitview_removed && !b_activeVideo) || (b_nonembedded && b_activeVideo && sender != nil) ) if ( !b_splitview_removed && ( (([[NSApp currentEvent] modifierFlags] & NSAlternateKeyMask) != 0 && !b_activeVideo) || (b_nonembedded && b_activeVideo && sender != nil) ))
{ {
[self hideSplitView]; [self hideSplitView];
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment