Qt: fix start/restart shortcut

This commit is contained in:
Megamouse 2023-06-06 00:14:44 +02:00
parent 3f5bc3464d
commit c0366ba40c

View File

@ -340,7 +340,7 @@ void main_window::handle_shortcut(gui::shortcuts::shortcut shortcut_key, const Q
Emu.Pause();
break;
}
case gui::shortcuts::shortcut::mw_restart:
case gui::shortcuts::shortcut::mw_start:
{
if (status == system_state::paused)
Emu.Resume();
@ -348,7 +348,7 @@ void main_window::handle_shortcut(gui::shortcuts::shortcut shortcut_key, const Q
Emu.Run(true);
break;
}
case gui::shortcuts::shortcut::mw_start:
case gui::shortcuts::shortcut::mw_restart:
{
if (!Emu.GetBoot().empty())
Emu.Restart();