summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorterkhen <terkhen@openttd.org>2010-03-11 20:57:18 +0000
committerterkhen <terkhen@openttd.org>2010-03-11 20:57:18 +0000
commit8b041e8027d4c8bee35731e62e39129b85dd6122 (patch)
tree11c920da675c35bcb1d18cc9768cee147a8495d7 /src
parentba61251b16f14a4b187b3a92c032f5e15a5f2896 (diff)
downloadopenttd-8b041e8027d4c8bee35731e62e39129b85dd6122.tar.xz
(svn r19387) -Fix [FS#3671]: Close all orders windows when switching companies.
Diffstat (limited to 'src')
-rw-r--r--src/order_gui.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/order_gui.cpp b/src/order_gui.cpp
index 9f974f8b8..3ba57e0e5 100644
--- a/src/order_gui.cpp
+++ b/src/order_gui.cpp
@@ -1350,7 +1350,7 @@ static const NWidgetPart _nested_orders_train_widgets[] = {
static const WindowDesc _orders_train_desc(
WDP_AUTO, 384, 100,
WC_VEHICLE_ORDERS, WC_VEHICLE_VIEW,
- 0,
+ WDF_CONSTRUCTION,
_nested_orders_train_widgets, lengthof(_nested_orders_train_widgets)
);
@@ -1415,7 +1415,7 @@ static const NWidgetPart _nested_orders_widgets[] = {
static const WindowDesc _orders_desc(
WDP_AUTO, 384, 100,
WC_VEHICLE_ORDERS, WC_VEHICLE_VIEW,
- 0,
+ WDF_CONSTRUCTION,
_nested_orders_widgets, lengthof(_nested_orders_widgets)
);