SwicthUMD:Only update Switch UMD item of Windows menu instead of entire UI.

This commit is contained in:
shenweip 2020-10-22 17:14:35 +08:00
parent 0f647684a3
commit a0fe0e38c1
11 changed files with 37 additions and 4 deletions

View file

@ -970,6 +970,10 @@ namespace MainWindow
InputDevice::BeginPolling();
break;
case WM_USER_SWITCHUMD_UPDATED:
UpdateSwitchUMD();
break;
case WM_MENUSELECT:
// Called when a menu is opened. Also when an item is selected, but meh.
UpdateMenus(true);