changeset 13025:8acd1900fe45 draft

(svn r17523) -Fix (r17514): InvalidateWindowClasses() only does SetDirty(), which is no longer enough.
author frosch <frosch@openttd.org>
date Sun, 13 Sep 2009 16:43:16 +0000
parents aa1f3a190f19
children bddedec7c8f1
files src/network/network_content_gui.cpp
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/network/network_content_gui.cpp
+++ b/src/network/network_content_gui.cpp
@@ -111,7 +111,7 @@
 				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;