(svn r15415) -Change: close the (station) joiner window when pressing the bulldozer.

This commit is contained in:
rubidium
2009-02-08 16:03:17 +00:00
parent 57b27ffbab
commit faeb00008a
2 changed files with 3 additions and 0 deletions

View File

@@ -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);