Merge branch 'order_occupancy-sx' into jgrpp

This commit is contained in:
Jonathan G Rennison
2015-08-31 16:36:02 +01:00

View File

@@ -868,7 +868,9 @@ public:
this->CreateNestedTree();
this->vscroll = this->GetScrollbar(WID_O_SCROLLBAR);
if (v->owner == _local_company) {
this->GetWidget<NWidgetStacked>(WID_O_SEL_OCCUPANCY)->SetDisplayedPlane(SZSP_NONE);
}
this->FinishInitNested(v->index);
if (v->owner == _local_company) {
this->DisableWidget(WID_O_EMPTY);