summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--misc_gui.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/misc_gui.c b/misc_gui.c
index b1b9f7f37..1e06a95d8 100644
--- a/misc_gui.c
+++ b/misc_gui.c
@@ -1467,7 +1467,9 @@ static void SaveLoadDlgWndProc(Window *w, WindowEvent *e)
}
break;
case WE_MOUSELOOP:
- HandleEditBox(w, &WP(w, querystr_d), 10);
+ if (_saveload_mode == SLD_SAVE_GAME || _saveload_mode == SLD_SAVE_SCENARIO) {
+ HandleEditBox(w, &WP(w, querystr_d), 10);
+ }
break;
case WE_KEYPRESS:
if (e->we.keypress.keycode == WKC_ESC) {