CommonHost: Default escape to opening pause menu

This commit is contained in:
Connor McLaughlin 2022-07-23 13:27:35 +10:00
parent a1edddc59d
commit cac9c3fe04
2 changed files with 2 additions and 2 deletions

View File

@ -538,7 +538,7 @@ void MainWindow::onSystemDestroyed()
// update UI
{
QSignalBlocker sb(m_ui.actionPause);
m_ui.actionPause->setChecked(true);
m_ui.actionPause->setChecked(false);
}
s_system_valid = false;

View File

@ -305,7 +305,7 @@ void CommonHost::SetDefaultHotkeyBindings(SettingsInterface& si)
si.SetStringValue("Hotkeys", "ToggleFullscreen", "Keyboard/Alt & Keyboard/Return");
si.SetStringValue("Hotkeys", "Screenshot", "Keyboard/F10");
si.SetStringValue("Hotkeys", "PowerOff", "Keyboard/Escape");
si.SetStringValue("Hotkeys", "OpenPauseMenu", "Keyboard/Escape");
si.SetStringValue("Hotkeys", "LoadSelectedSaveState", "Keyboard/F1");
si.SetStringValue("Hotkeys", "SaveSelectedSaveState", "Keyboard/F2");
si.SetStringValue("Hotkeys", "SelectPreviousSaveStateSlot", "Keyboard/F3");