changeset 14391:d412eb7ac21d draft

(svn r18948) -Fix: removing a newgrf from the list didn't update the scrollbar
author yexo <yexo@openttd.org>
date Fri, 29 Jan 2010 15:50:56 +0000
parents 48685f9d7f68
children 18756e397494
files src/newgrf_gui.cpp
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/newgrf_gui.cpp
+++ b/src/newgrf_gui.cpp
@@ -768,7 +768,7 @@
 
 				this->sel = newsel;
 				this->preset = -1;
-				this->InvalidateData();
+				this->InvalidateData(3);
 				this->DeleteChildWindows(WC_QUERY_STRING); // Remove the parameter query window
 				break;
 			}