From faeb00008a72023ceb80daa38ab49f2fbaaaf043 Mon Sep 17 00:00:00 2001 From: rubidium Date: Sun, 8 Feb 2009 16:03:17 +0000 Subject: (svn r15415) -Change: close the (station) joiner window when pressing the bulldozer. --- src/road_gui.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/road_gui.cpp') diff --git a/src/road_gui.cpp b/src/road_gui.cpp index 6fd93cf8c..a1a8e0e62 100644 --- a/src/road_gui.cpp +++ b/src/road_gui.cpp @@ -368,6 +368,8 @@ static void BuildRoadClick_Tunnel(Window *w) static void BuildRoadClick_Remove(Window *w) { if (w->IsWidgetDisabled(RTW_REMOVE)) return; + + DeleteWindowById(WC_SELECT_STATION, 0); ToggleRoadButton_Remove(w); SndPlayFx(SND_15_BEEP); } -- cgit v1.2.3-70-g09d2