mirror of https://github.com/OpenTTD/OpenTTD
(svn r21557) -Change: close the query windows when changing the language as often the strings are partly translated, which causes trouble in some cases
parent
ee87c91e05
commit
c874040636
|
@ -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();
|
||||||
|
|
Loading…
Reference in New Issue