summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoryexo <yexo@openttd.org>2010-01-29 15:50:56 +0000
committeryexo <yexo@openttd.org>2010-01-29 15:50:56 +0000
commitea227aa03332e8c40c3b73ccaeef790ab8476c4a (patch)
tree073c666a6e494354e768120c53da752812ab90a6
parent81882039e3fd650ce3530c72ee2f14be784490d0 (diff)
downloadopenttd-ea227aa03332e8c40c3b73ccaeef790ab8476c4a.tar.xz
(svn r18948) -Fix: removing a newgrf from the list didn't update the scrollbar
-rw-r--r--src/newgrf_gui.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/newgrf_gui.cpp b/src/newgrf_gui.cpp
index c1357e69a..333bde04e 100644
--- a/src/newgrf_gui.cpp
+++ b/src/newgrf_gui.cpp
@@ -768,7 +768,7 @@ struct NewGRFWindow : public Window {
this->sel = newsel;
this->preset = -1;
- this->InvalidateData();
+ this->InvalidateData(3);
this->DeleteChildWindows(WC_QUERY_STRING); // Remove the parameter query window
break;
}