Commit d8937ba2 authored by Felix Paul Kühne's avatar Felix Paul Kühne

macosx: make sure we can't access the split view while showing a video

parent 9b2e350f
...@@ -463,17 +463,18 @@ static VLCMainWindow *_o_sharedInstance = nil; ...@@ -463,17 +463,18 @@ static VLCMainWindow *_o_sharedInstance = nil;
if (!b_nonembedded) if (!b_nonembedded)
{ {
if ([o_video_view isHidden] && [o_playlist_btn isEnabled]) { if ([o_video_view isHidden] && [o_playlist_btn isEnabled]) {
[o_playlist_table setHidden: YES]; [o_split_view setHidden: YES];
[o_video_view setHidden: NO]; [o_video_view setHidden: NO];
} }
else else
{ {
[o_video_view setHidden: YES]; [o_video_view setHidden: YES];
[o_playlist_table setHidden: NO]; [o_split_view setHidden: NO];
} }
} }
else else
{ {
[o_split_view setHidden: NO];
[o_playlist_table setHidden: NO]; [o_playlist_table setHidden: NO];
[o_video_view setHidden: ![[VLCMain sharedInstance] activeVideoPlayback]]; [o_video_view setHidden: ![[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