Commit 2709f26e authored by David Fuhrmann's avatar David Fuhrmann

macosx: when main window is hidden, let playlist menu item only display the window

Furthermore, this commit fixes close button functionality in dark ui style when video is playing
parent 64637de2
......@@ -634,9 +634,10 @@ static VLCMainWindow *_o_sharedInstance = nil;
- (IBAction)togglePlaylist:(id)sender
{
if (![self isVisible])
if (![self isVisible] && sender != nil)
{
[self makeKeyAndOrderFront: sender];
return;
}
BOOL b_activeVideo = [[VLCMain sharedInstance] activeVideoPlayback];
......
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