diff options
Diffstat (limited to 'src/rail_gui.cpp')
-rw-r--r-- | src/rail_gui.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/rail_gui.cpp b/src/rail_gui.cpp index f483b4d74..f3033c0fa 100644 --- a/src/rail_gui.cpp +++ b/src/rail_gui.cpp @@ -298,6 +298,7 @@ enum RailToolbarWidgets { */ static void ToggleRailButton_Remove(Window *w) { + DeleteWindowById(WC_SELECT_STATION, 0); w->ToggleWidgetLoweredState(RTW_REMOVE); w->InvalidateWidget(RTW_REMOVE); _remove_button_clicked = w->IsWidgetLowered(RTW_REMOVE); |