Commit 2b406b2e authored by Pierre d'Herbemont's avatar Pierre d'Herbemont

macosx: Make sure input menu are up-to-date.

Fixes #1684.
parent 2a07de63
...@@ -908,7 +908,6 @@ ...@@ -908,7 +908,6 @@
{ {
bEnabled = FALSE; bEnabled = FALSE;
} }
[o_main setupMenus]; /* Make sure input menu is up to date */
} }
else if( [[o_mi title] isEqualToString: _NS("Previous")] || else if( [[o_mi title] isEqualToString: _NS("Previous")] ||
[[o_mi title] isEqualToString: _NS("Next")] ) [[o_mi title] isEqualToString: _NS("Next")] )
......
...@@ -1213,6 +1213,7 @@ static VLCMain *_o_sharedMainInstance = nil; ...@@ -1213,6 +1213,7 @@ static VLCMain *_o_sharedMainInstance = nil;
p_intf->p_sys->b_current_title_update = true; p_intf->p_sys->b_current_title_update = true;
p_intf->p_sys->b_intf_update = true; p_intf->p_sys->b_intf_update = true;
p_intf->p_sys->b_input_update = false; p_intf->p_sys->b_input_update = false;
[self setupMenus]; /* Make sure input menu is up to date */
} }
if( p_intf->p_sys->b_intf_update ) if( p_intf->p_sys->b_intf_update )
{ {
......
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