1
0
mirror of https://github.com/OpenTTD/OpenTTD.git synced 2025-08-25 23:49:09 +00:00

(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:
rubidium
2010-12-21 10:06:21 +00:00
parent ee87c91e05
commit c874040636

View File

@@ -430,6 +430,7 @@ struct GameOptionsWindow : Window {
case GOW_LANG_DROPDOWN: // Change interface language
ReadLanguagePack(&_languages[index]);
DeleteWindowByClass(WC_QUERY_STRING);
CheckForMissingGlyphsInLoadedLanguagePack();
UpdateAllVirtCoords();
ReInitAllWindows();