diff options
author | rubidium <rubidium@openttd.org> | 2009-02-04 16:59:41 +0000 |
---|---|---|
committer | rubidium <rubidium@openttd.org> | 2009-02-04 16:59:41 +0000 |
commit | 42fe0b65d2826aeef9866cbdccccb38884616ba2 (patch) | |
tree | 0b2799a662a70856b0fe38c29efcafe45c25f8e4 /src/rail_gui.cpp | |
parent | cd9c35b84e6d3eea538368071acb3301484071e8 (diff) | |
download | openttd-42fe0b65d2826aeef9866cbdccccb38884616ba2.tar.xz |
(svn r15338) -Fix [FS#2598]: close all construction related windows whenever changing company.
Diffstat (limited to 'src/rail_gui.cpp')
-rw-r--r-- | src/rail_gui.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/rail_gui.cpp b/src/rail_gui.cpp index 309af58fc..6ebb9fc7e 100644 --- a/src/rail_gui.cpp +++ b/src/rail_gui.cpp @@ -793,7 +793,7 @@ static const Widget _build_rail_widgets[] = { static const WindowDesc _build_rail_desc = { WDP_ALIGN_TBR, 22, 350, 36, 350, 36, WC_BUILD_TOOLBAR, WC_NONE, - WDF_STD_TOOLTIPS | WDF_STD_BTN | WDF_DEF_WIDGET | WDF_STICKY_BUTTON, + WDF_STD_TOOLTIPS | WDF_STD_BTN | WDF_DEF_WIDGET | WDF_STICKY_BUTTON | WDF_CONSTRUCTION, _build_rail_widgets, }; @@ -1335,7 +1335,7 @@ static const Widget _newstation_builder_widgets[] = { static const WindowDesc _station_builder_desc = { WDP_AUTO, WDP_AUTO, 148, 200, 148, 200, WC_BUILD_STATION, WC_BUILD_TOOLBAR, - WDF_STD_TOOLTIPS | WDF_STD_BTN | WDF_DEF_WIDGET, + WDF_STD_TOOLTIPS | WDF_STD_BTN | WDF_DEF_WIDGET | WDF_CONSTRUCTION, _station_builder_widgets, }; @@ -1343,7 +1343,7 @@ static const WindowDesc _station_builder_desc = { static const WindowDesc _newstation_builder_desc = { WDP_AUTO, WDP_AUTO, 148, 290, 148, 290, WC_BUILD_STATION, WC_BUILD_TOOLBAR, - WDF_STD_TOOLTIPS | WDF_STD_BTN | WDF_DEF_WIDGET, + WDF_STD_TOOLTIPS | WDF_STD_BTN | WDF_DEF_WIDGET | WDF_CONSTRUCTION, _newstation_builder_widgets, }; @@ -1512,7 +1512,7 @@ static const Widget _signal_builder_widgets[] = { static const WindowDesc _signal_builder_desc = { WDP_AUTO, WDP_AUTO, 154, 68, 154, 68, WC_BUILD_SIGNAL, WC_BUILD_TOOLBAR, - WDF_STD_TOOLTIPS | WDF_STD_BTN | WDF_DEF_WIDGET | WDF_UNCLICK_BUTTONS, + WDF_STD_TOOLTIPS | WDF_STD_BTN | WDF_DEF_WIDGET | WDF_UNCLICK_BUTTONS | WDF_CONSTRUCTION, _signal_builder_widgets, }; @@ -1586,7 +1586,7 @@ static const Widget _build_depot_widgets[] = { static const WindowDesc _build_depot_desc = { WDP_AUTO, WDP_AUTO, 140, 122, 140, 122, WC_BUILD_DEPOT, WC_BUILD_TOOLBAR, - WDF_STD_TOOLTIPS | WDF_STD_BTN | WDF_DEF_WIDGET, + WDF_STD_TOOLTIPS | WDF_STD_BTN | WDF_DEF_WIDGET | WDF_CONSTRUCTION, _build_depot_widgets, }; @@ -1687,7 +1687,7 @@ static const Widget _build_waypoint_widgets[] = { static const WindowDesc _build_waypoint_desc = { WDP_AUTO, WDP_AUTO, 344, 92, 344, 92, WC_BUILD_DEPOT, WC_BUILD_TOOLBAR, - WDF_STD_TOOLTIPS | WDF_STD_BTN | WDF_DEF_WIDGET, + WDF_STD_TOOLTIPS | WDF_STD_BTN | WDF_DEF_WIDGET | WDF_CONSTRUCTION, _build_waypoint_widgets, }; |