summaryrefslogtreecommitdiff
path: root/src/order_gui.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/order_gui.cpp')
-rw-r--r--src/order_gui.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/order_gui.cpp b/src/order_gui.cpp
index 499c3d36d..90e4f8a6f 100644
--- a/src/order_gui.cpp
+++ b/src/order_gui.cpp
@@ -822,7 +822,9 @@ public:
this->CreateNestedTree(desc);
this->vscroll = this->GetScrollbar(ORDER_WIDGET_SCROLLBAR);
this->FinishInitNested(desc, v->index);
- this->DisableWidget(ORDER_WIDGET_EMPTY);
+ if (v->owner == _local_company) {
+ this->DisableWidget(ORDER_WIDGET_EMPTY);
+ }
this->selected_order = -1;
this->order_over = INVALID_VEH_ORDER_ID;