From cd2d0f1ec1f2ea22eeb5b427537b9296b7cd2215 Mon Sep 17 00:00:00 2001 From: rubidium Date: Tue, 21 Dec 2010 10:06:21 +0000 Subject: [PATCH] (svn r21557) -Change: close the query windows when changing the language as often the strings are partly translated, which causes trouble in some cases --- src/settings_gui.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/settings_gui.cpp b/src/settings_gui.cpp index 75be0a9a7c..69e3d73728 100644 --- a/src/settings_gui.cpp +++ b/src/settings_gui.cpp @@ -430,6 +430,7 @@ struct GameOptionsWindow : Window { case GOW_LANG_DROPDOWN: // Change interface language ReadLanguagePack(&_languages[index]); + DeleteWindowByClass(WC_QUERY_STRING); CheckForMissingGlyphsInLoadedLanguagePack(); UpdateAllVirtCoords(); ReInitAllWindows();