Commit 566b0cd4 authored by Felix Paul Kühne's avatar Felix Paul Kühne

macosx: hide the playlist without option click when showing the video in a...

macosx: hide the playlist without option click when showing the video in a separate window (refs #6213)
parent aff83501
......@@ -590,7 +590,7 @@ static VLCMainWindow *_o_sharedInstance = nil;
- (IBAction)togglePlaylist:(id)sender
{
if ((([[NSApp currentEvent] modifierFlags] & NSAlternateKeyMask) != 0) && !b_splitview_removed)
if ( ((([[NSApp currentEvent] modifierFlags] & NSAlternateKeyMask) != 0) && !b_splitview_removed) || (b_nonembedded && [[VLCMain sharedInstance] activeVideoPlayback] && sender != nil) )
{
[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