summaryrefslogtreecommitdiff
path: root/src/road_gui.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/road_gui.cpp')
-rw-r--r--src/road_gui.cpp2
1 files changed, 2 insertions, 0 deletions
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);
}