Default exit shortcut to zero

This commit is contained in:
Colin Kinloch 2024-02-03 21:28:55 +00:00 committed by tildearrow
parent 311a2eaa41
commit 8d36ab5909
2 changed files with 2 additions and 4 deletions

View file

@ -84,9 +84,7 @@ void FurnaceGUI::doAction(int what) {
} }
break; break;
case GUI_ACTION_QUIT: case GUI_ACTION_QUIT:
{ requestQuit();
requestQuit();
}
break; break;
case GUI_ACTION_PLAY_TOGGLE: case GUI_ACTION_PLAY_TOGGLE:
if (e->isPlaying() && !e->isStepping()) { if (e->isPlaying() && !e->isStepping()) {

View file

@ -548,7 +548,7 @@ const FurnaceGUIActionDef guiActions[GUI_ACTION_MAX]={
#else #else
D("REDO", "Redo", FURKMOD_CMD|SDLK_y), D("REDO", "Redo", FURKMOD_CMD|SDLK_y),
#endif #endif
D("QUIT", "Exit", FURKMOD_CMD|SDLK_q), D("QUIT", "Exit", 0),
D("PLAY_TOGGLE", "Play/Stop (toggle)", SDLK_RETURN), D("PLAY_TOGGLE", "Play/Stop (toggle)", SDLK_RETURN),
D("PLAY", "Play", 0), D("PLAY", "Play", 0),
D("STOP", "Stop", 0), D("STOP", "Stop", 0),