Commit 12b32fae authored by Felix Paul Kühne's avatar Felix Paul Kühne

macosx: fixed corner-case in which the play button state wasn't updated correctly (close #6204)

(cherry picked from commit 5785e63a)
parent bc55de20
...@@ -1418,7 +1418,7 @@ unsigned int CocoaKeyToVLC( unichar i_key ) ...@@ -1418,7 +1418,7 @@ unsigned int CocoaKeyToVLC( unichar i_key )
if( p_current_input ) if( p_current_input )
{ {
var_AddCallback( p_current_input, "intf-event", InputEvent, [VLCMain sharedInstance] ); var_AddCallback( p_current_input, "intf-event", InputEvent, [VLCMain sharedInstance] );
[self playbackStatusUpdated];
[o_mainmenu setRateControlsEnabled: YES]; [o_mainmenu setRateControlsEnabled: YES];
if ( [self activeVideoPlayback] && [[o_mainwindow videoView] isHidden] ) if ( [self activeVideoPlayback] && [[o_mainwindow videoView] isHidden] )
[o_mainwindow performSelectorOnMainThread:@selector(togglePlaylist:) withObject: nil waitUntilDone:NO]; [o_mainwindow performSelectorOnMainThread:@selector(togglePlaylist:) withObject: nil waitUntilDone:NO];
......
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