diff options
author | terkhen <terkhen@openttd.org> | 2010-03-11 20:57:18 +0000 |
---|---|---|
committer | terkhen <terkhen@openttd.org> | 2010-03-11 20:57:18 +0000 |
commit | 8b041e8027d4c8bee35731e62e39129b85dd6122 (patch) | |
tree | 11c920da675c35bcb1d18cc9768cee147a8495d7 | |
parent | ba61251b16f14a4b187b3a92c032f5e15a5f2896 (diff) | |
download | openttd-8b041e8027d4c8bee35731e62e39129b85dd6122.tar.xz |
(svn r19387) -Fix [FS#3671]: Close all orders windows when switching companies.
-rw-r--r-- | src/order_gui.cpp | 4 |
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) ); |