From ba97964af831d902a241cc681bae90b051243568 Mon Sep 17 00:00:00 2001 From: frosch Date: Sun, 13 Sep 2009 16:43:16 +0000 Subject: (svn r17523) -Fix (r17514): InvalidateWindowClasses() only does SetDirty(), which is no longer enough. --- src/network/network_content_gui.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/network/network_content_gui.cpp b/src/network/network_content_gui.cpp index 669f1b89a..562fdcea7 100644 --- a/src/network/network_content_gui.cpp +++ b/src/network/network_content_gui.cpp @@ -111,7 +111,7 @@ public: case CONTENT_TYPE_NEWGRF: ScanNewGRFFiles(); /* Yes... these are the NewGRF windows */ - InvalidateWindowClasses(WC_SAVELOAD); + InvalidateWindowClassesData(WC_SAVELOAD); InvalidateWindowData(WC_GAME_OPTIONS, 0, 1); InvalidateWindowData(WC_NETWORK_WINDOW, 1, 2); break; -- cgit v1.2.3-70-g09d2