mirror of https://github.com/OpenTTD/OpenTTD
(svn r16957) -Fix: Trigger the same window repositioning after changing font/language as it is done after resizing the main OpenTTD window.
parent
6de80c9278
commit
55e07d0606
|
@ -333,7 +333,6 @@ struct GameOptionsWindow : Window {
|
||||||
CheckForMissingGlyphsInLoadedLanguagePack();
|
CheckForMissingGlyphsInLoadedLanguagePack();
|
||||||
UpdateAllStationVirtCoords();
|
UpdateAllStationVirtCoords();
|
||||||
ReInitAllWindows();
|
ReInitAllWindows();
|
||||||
MarkWholeScreenDirty();
|
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case GOW_RESOLUTION_DROPDOWN: // Change resolution
|
case GOW_RESOLUTION_DROPDOWN: // Change resolution
|
||||||
|
|
|
@ -2556,6 +2556,10 @@ void ReInitAllWindows()
|
||||||
FOR_ALL_WINDOWS_FROM_BACK(w) {
|
FOR_ALL_WINDOWS_FROM_BACK(w) {
|
||||||
w->ReInit();
|
w->ReInit();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/* Make sure essential parts of all windows are visible */
|
||||||
|
RelocateAllWindows(_cur_resolution.width, _cur_resolution.height);
|
||||||
|
MarkWholeScreenDirty();
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
Loading…
Reference in New Issue