summaryrefslogtreecommitdiff
path: root/src/build_vehicle_gui.cpp
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2009-02-04 16:59:41 +0000
committerrubidium <rubidium@openttd.org>2009-02-04 16:59:41 +0000
commit42fe0b65d2826aeef9866cbdccccb38884616ba2 (patch)
tree0b2799a662a70856b0fe38c29efcafe45c25f8e4 /src/build_vehicle_gui.cpp
parentcd9c35b84e6d3eea538368071acb3301484071e8 (diff)
downloadopenttd-42fe0b65d2826aeef9866cbdccccb38884616ba2.tar.xz
(svn r15338) -Fix [FS#2598]: close all construction related windows whenever changing company.
Diffstat (limited to 'src/build_vehicle_gui.cpp')
-rw-r--r--src/build_vehicle_gui.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/build_vehicle_gui.cpp b/src/build_vehicle_gui.cpp
index a67ec2eb2..3f9118966 100644
--- a/src/build_vehicle_gui.cpp
+++ b/src/build_vehicle_gui.cpp
@@ -1182,7 +1182,7 @@ struct BuildVehicleWindow : Window {
static const WindowDesc _build_vehicle_desc = {
WDP_AUTO, WDP_AUTO, 240, 174, 240, 256,
WC_BUILD_VEHICLE, WC_NONE,
- WDF_STD_TOOLTIPS | WDF_STD_BTN | WDF_DEF_WIDGET | WDF_UNCLICK_BUTTONS | WDF_RESIZABLE,
+ WDF_STD_TOOLTIPS | WDF_STD_BTN | WDF_DEF_WIDGET | WDF_UNCLICK_BUTTONS | WDF_RESIZABLE | WDF_CONSTRUCTION,
_build_vehicle_widgets,
};