mirror of
https://github.com/tildearrow/furnace.git
synced 2025-01-05 23:21:22 +00:00
GUI: respond to ctrl-shift-S
This commit is contained in:
parent
79b87c40d0
commit
2e157d7b22
1 changed files with 1 additions and 1 deletions
|
@ -4543,7 +4543,7 @@ void FurnaceGUI::keyDown(SDL_Event& ev) {
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
case SDLK_s:
|
case SDLK_s:
|
||||||
if (curFileName=="") {
|
if (curFileName=="" || ev.key.keysym.mod&KMOD_SHIFT) {
|
||||||
openFileDialog(GUI_FILE_SAVE);
|
openFileDialog(GUI_FILE_SAVE);
|
||||||
} else {
|
} else {
|
||||||
if (save(curFileName)>0) {
|
if (save(curFileName)>0) {
|
||||||
|
|
Loading…
Reference in a new issue