Add Ctrl+Q to quit

This commit is contained in:
Colin Kinloch 2024-02-03 18:30:36 +00:00 committed by tildearrow
parent 83b934862a
commit b2d61b1d3a
5 changed files with 19 additions and 15 deletions

View file

@ -83,6 +83,11 @@ void FurnaceGUI::doAction(int what) {
doRedo();
}
break;
case GUI_ACTION_QUIT:
{
requestQuit();
}
break;
case GUI_ACTION_PLAY_TOGGLE:
if (e->isPlaying() && !e->isStepping()) {
stop();