# HG changeset patch # User yexo # Date 2010-01-29 15:50:56 # Node ID 4b567f5e50106e9d76386f057cc10e4b33598635 # Parent ed2eb71c0e207f514bd0825986b7bf244beb1841 (svn r18948) -Fix: removing a newgrf from the list didn't update the scrollbar diff --git a/src/newgrf_gui.cpp b/src/newgrf_gui.cpp --- 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; }