summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorfrosch <frosch@openttd.org>2010-07-25 14:33:17 +0000
committerfrosch <frosch@openttd.org>2010-07-25 14:33:17 +0000
commitb71aabdfb7319747ce98ad5ac041b5e3fb787f05 (patch)
treebc1c557d731194cac9f188b71bbd2ed4b9255f89
parentb59a6a53de8b5d15666e63ddd863d49984eebf2f (diff)
downloadopenttd-b71aabdfb7319747ce98ad5ac041b5e3fb787f05.tar.xz
(svn r20217) -Fix [FS#3969]: Invalidate saveload GUI after rescanning NewGRFs.
-rw-r--r--src/newgrf_gui.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/newgrf_gui.cpp b/src/newgrf_gui.cpp
index 290f30e88..4570cab67 100644
--- a/src/newgrf_gui.cpp
+++ b/src/newgrf_gui.cpp
@@ -632,6 +632,7 @@ struct NewGRFWindow : public QueryStringBaseWindow {
this->avails.ForceRebuild();
this->InvalidateData(1);
this->DeleteChildWindows(WC_QUERY_STRING); // Remove the parameter query window
+ InvalidateWindowClassesData(WC_SAVELOAD);
break;
}
}