(svn r7350) -Fix: do not handle the save game/scenario filename edit box when loading a game/scenario/heightmap.
authorrubidium
Mon, 04 Dec 2006 10:55:53 +0000
changeset 5230 660ae3a1ec4c
parent 5229 95fb62dc55d7
child 5231 3bf4c8b8ddeb
(svn r7350) -Fix: do not handle the save game/scenario filename edit box when loading a game/scenario/heightmap.
misc_gui.c
--- a/misc_gui.c	Mon Dec 04 10:44:17 2006 +0000
+++ b/misc_gui.c	Mon Dec 04 10:55:53 2006 +0000
@@ -1467,7 +1467,9 @@
 		}
 		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) {