Win32: Enable/disable menu items when a menu is popped down. Allows us to avoid calling UpdateUI from sceUmd. Should fix #9546

This commit is contained in:
Henrik Rydgard committed 2017-04-04 10:11:03 +02:00
1 parent 0ca16c29ae
commit 0a0aa02aae
4 files changed
+6 -11

No files matched your search

-4
View File
@@ -337,10 +337,6 @@ namespace MainWindow {
// Help menu: it's translated in CreateHelpMenu.
CreateHelpMenu(menu);
// TODO: Urgh! Why do we need this here?
// The menu is supposed to enable/disable this stuff directly afterward.
SetIngameMenuItemStates(menu, GetUIState());
DrawMenuBar(hWnd);
UpdateMenus();
}