From c87404063618293e50b8d7e0f1c85965c0fc8986 Mon Sep 17 00:00:00 2001 From: rubidium Date: Tue, 21 Dec 2010 10:06:21 +0000 Subject: (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(+) (limited to 'src') diff --git a/src/settings_gui.cpp b/src/settings_gui.cpp index 75be0a9a7..69e3d7372 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(); -- cgit v1.2.3-70-g09d2