(svn r21557) -Change: close the query windows when changing the language as often the strings are partly translated, which causes trouble in some cases
This commit is contained in:
@@ -430,6 +430,7 @@ struct GameOptionsWindow : Window {
|
|||||||
|
|
||||||
case GOW_LANG_DROPDOWN: // Change interface language
|
case GOW_LANG_DROPDOWN: // Change interface language
|
||||||
ReadLanguagePack(&_languages[index]);
|
ReadLanguagePack(&_languages[index]);
|
||||||
|
DeleteWindowByClass(WC_QUERY_STRING);
|
||||||
CheckForMissingGlyphsInLoadedLanguagePack();
|
CheckForMissingGlyphsInLoadedLanguagePack();
|
||||||
UpdateAllVirtCoords();
|
UpdateAllVirtCoords();
|
||||||
ReInitAllWindows();
|
ReInitAllWindows();
|
||||||
|
Reference in New Issue
Block a user