mirror of
https://github.com/OpenTTD/OpenTTD.git
synced 2025-03-08 23:19:40 +00:00
(svn r17523) -Fix (r17514): InvalidateWindowClasses() only does SetDirty(), which is no longer enough.
This commit is contained in:
parent
0c8c208569
commit
ba97964af8
@ -111,7 +111,7 @@ public:
|
|||||||
case CONTENT_TYPE_NEWGRF:
|
case CONTENT_TYPE_NEWGRF:
|
||||||
ScanNewGRFFiles();
|
ScanNewGRFFiles();
|
||||||
/* Yes... these are the NewGRF windows */
|
/* Yes... these are the NewGRF windows */
|
||||||
InvalidateWindowClasses(WC_SAVELOAD);
|
InvalidateWindowClassesData(WC_SAVELOAD);
|
||||||
InvalidateWindowData(WC_GAME_OPTIONS, 0, 1);
|
InvalidateWindowData(WC_GAME_OPTIONS, 0, 1);
|
||||||
InvalidateWindowData(WC_NETWORK_WINDOW, 1, 2);
|
InvalidateWindowData(WC_NETWORK_WINDOW, 1, 2);
|
||||||
break;
|
break;
|
||||||
|
Loading…
Reference in New Issue
Block a user