(svn r17523) -Fix (r17514): InvalidateWindowClasses() only does SetDirty(), which is no longer enough.

This commit is contained in:
frosch 2009-09-13 16:43:16 +00:00
parent 0c8c208569
commit ba97964af8

View File

@ -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;