Release v0.6.33: warn about unsaved settings and expose menu access keys
This commit is contained in:
@@ -1654,6 +1654,7 @@ void App::trayMenu()
|
||||
GetCursorPos(&pt);
|
||||
pasteTarget = GetForegroundWindow();
|
||||
SetForegroundWindow(window);
|
||||
showMenuAccessKeys(menu);
|
||||
int cmd = TrackPopupMenu(menu, TPM_RETURNCMD | TPM_RIGHTBUTTON, pt.x, pt.y, 0, window, nullptr);
|
||||
DestroyMenu(menu);
|
||||
PostMessageW(window, WM_NULL, 0, 0);
|
||||
|
||||
Reference in New Issue
Block a user