# HG changeset patch # User rubidium # Date 1165229753 0 # Node ID 660ae3a1ec4cde54e23b5f642467963b3cc47e27 # Parent 95fb62dc55d7e59a0525f62ae804d75446c55b1b (svn r7350) -Fix: do not handle the save game/scenario filename edit box when loading a game/scenario/heightmap. diff -r 95fb62dc55d7 -r 660ae3a1ec4c 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) {