summaryrefslogtreecommitdiff
path: root/src/network
diff options
context:
space:
mode:
authorfrosch <frosch@openttd.org>2009-09-13 16:43:16 +0000
committerfrosch <frosch@openttd.org>2009-09-13 16:43:16 +0000
commitba97964af831d902a241cc681bae90b051243568 (patch)
treee2d89b13aca815ed5bb1f8bb66fd927986f0fdb7 /src/network
parent0c8c2085699ffd3238926f0e6ce763faf8943c0a (diff)
downloadopenttd-ba97964af831d902a241cc681bae90b051243568.tar.xz
(svn r17523) -Fix (r17514): InvalidateWindowClasses() only does SetDirty(), which is no longer enough.
Diffstat (limited to 'src/network')
-rw-r--r--src/network/network_content_gui.cpp2
1 files changed, 1 insertions, 1 deletions
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;