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

macosx: remove callbacks in VLCMain correctly. Fixes #5427

parent 767cf119
......@@ -1440,7 +1440,10 @@ unsigned int CocoaKeyToVLC( unichar i_key )
else
{
if (state == END_S)
{
var_DelCallback( p_input, "intf-event", InputEvent, [VLCMain sharedInstance] );
[o_mainmenu setSubmenusEnabled: FALSE];
}
[[self mainMenu] setPlay];
[o_mainwindow setPlay];
}
......
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