From ea227aa03332e8c40c3b73ccaeef790ab8476c4a Mon Sep 17 00:00:00 2001 From: yexo Date: Fri, 29 Jan 2010 15:50:56 +0000 Subject: [PATCH] (svn r18948) -Fix: removing a newgrf from the list didn't update the scrollbar --- src/newgrf_gui.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/newgrf_gui.cpp b/src/newgrf_gui.cpp index c1357e69a2..333bde04ed 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; }