summaryrefslogtreecommitdiff
path: root/src/newgrf_gui.cpp
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2011-08-20 17:46:03 +0000
committerrubidium <rubidium@openttd.org>2011-08-20 17:46:03 +0000
commit327c5dd10c5bf85ee986285979f8505024d19d89 (patch)
treea5ac828e2d2a15d8baf1a7dcae34d5db52c3e6f2 /src/newgrf_gui.cpp
parent66bab6aeff0c731b400d341a20a36b590499a010 (diff)
downloadopenttd-327c5dd10c5bf85ee986285979f8505024d19d89.tar.xz
(svn r22771) -Codechange: unify some NewGRFScan calling code
Diffstat (limited to 'src/newgrf_gui.cpp')
-rw-r--r--src/newgrf_gui.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/newgrf_gui.cpp b/src/newgrf_gui.cpp
index 1623e271e..9978a2f15 100644
--- a/src/newgrf_gui.cpp
+++ b/src/newgrf_gui.cpp
@@ -989,9 +989,7 @@ struct NewGRFWindow : public QueryStringBaseWindow {
this->avail_sel = NULL;
this->avail_pos = -1;
this->avails.ForceRebuild();
- this->InvalidateData(GOID_NEWGRF_RESCANNED);
this->DeleteChildWindows(WC_QUERY_STRING); // Remove the parameter query window
- InvalidateWindowClassesData(WC_SAVELOAD);
break;
}
}