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 | ac7757324ee2130f3c487f0323dbb23f9553806b (patch) | |
tree | 0b2799a662a70856b0fe38c29efcafe45c25f8e4 /src/dock_gui.cpp | |
parent | b6e6be58da699065621085715445f2d6502cf27a (diff) | |
download | openttd-ac7757324ee2130f3c487f0323dbb23f9553806b.tar.xz |
(svn r15338) -Fix [FS#2598]: close all construction related windows whenever changing company.
Diffstat (limited to 'src/dock_gui.cpp')
-rw-r--r-- | src/dock_gui.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/dock_gui.cpp b/src/dock_gui.cpp index caecae95a..61829988a 100644 --- a/src/dock_gui.cpp +++ b/src/dock_gui.cpp @@ -276,7 +276,7 @@ static const Widget _build_docks_toolb_widgets[] = { static const WindowDesc _build_docks_toolbar_desc = { WDP_ALIGN_TBR, 22, 160, 36, 160, 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_docks_toolb_widgets, }; @@ -311,7 +311,7 @@ static const Widget _build_docks_scen_toolb_widgets[] = { static const WindowDesc _build_docks_scen_toolbar_desc = { WDP_AUTO, WDP_AUTO, 115, 36, 115, 36, WC_SCEN_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_docks_scen_toolb_widgets, }; @@ -397,7 +397,7 @@ static const Widget _build_dock_station_widgets[] = { static const WindowDesc _build_dock_station_desc = { WDP_AUTO, WDP_AUTO, 148, 75, 148, 75, 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, _build_dock_station_widgets, }; @@ -471,7 +471,7 @@ static const Widget _build_docks_depot_widgets[] = { static const WindowDesc _build_docks_depot_desc = { WDP_AUTO, WDP_AUTO, 204, 86, 204, 86, 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_docks_depot_widgets, }; |