summaryrefslogtreecommitdiff
path: root/src/tree_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
commitac7757324ee2130f3c487f0323dbb23f9553806b (patch)
tree0b2799a662a70856b0fe38c29efcafe45c25f8e4 /src/tree_gui.cpp
parentb6e6be58da699065621085715445f2d6502cf27a (diff)
downloadopenttd-ac7757324ee2130f3c487f0323dbb23f9553806b.tar.xz
(svn r15338) -Fix [FS#2598]: close all construction related windows whenever changing company.
Diffstat (limited to 'src/tree_gui.cpp')
-rw-r--r--src/tree_gui.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tree_gui.cpp b/src/tree_gui.cpp
index 045de6c36..904ce0df2 100644
--- a/src/tree_gui.cpp
+++ b/src/tree_gui.cpp
@@ -174,7 +174,7 @@ static const Widget _build_trees_widgets[] = {
static const WindowDesc _build_trees_desc = {
WDP_AUTO, WDP_AUTO, 143, 184, 143, 184,
WC_BUILD_TREES, WC_NONE,
- WDF_STD_TOOLTIPS | WDF_STD_BTN | WDF_DEF_WIDGET,
+ WDF_STD_TOOLTIPS | WDF_STD_BTN | WDF_DEF_WIDGET | WDF_CONSTRUCTION,
_build_trees_widgets,
};