From f8e0b22974c4bb7376ea6c6029df92e889807a2a Mon Sep 17 00:00:00 2001 From: planetmaker Date: Tue, 8 Jan 2013 17:44:39 +0000 Subject: (svn r24894) -Fix [FS#5434]: Invalidate station selection window when station spread changes (based on patch by juanjo) --- src/settings.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/settings.cpp b/src/settings.cpp index 5a80b9bbd..f75b0c614 100644 --- a/src/settings.cpp +++ b/src/settings.cpp @@ -811,7 +811,7 @@ static bool InvalidateDetailsWindow(int32 p1) static bool InvalidateStationBuildWindow(int32 p1) { - SetWindowDirty(WC_BUILD_STATION, 0); + InvalidateWindowData(WC_SELECT_STATION, 0); return true; } -- cgit v1.2.3-70-g09d2