From ff80df980a69fdb14540841969be489bbd655a4c Mon Sep 17 00:00:00 2001 From: terkhen Date: Sat, 13 Feb 2010 10:33:05 +0000 Subject: (svn r19117) -Fix [FS#3593]: The Non-stop dropdown wasn't enabled for depot and waypoint orders. --- src/order_gui.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/order_gui.cpp b/src/order_gui.cpp index 20a881cf3..23e970d84 100644 --- a/src/order_gui.cpp +++ b/src/order_gui.cpp @@ -870,6 +870,7 @@ public: left_sel->SetDisplayedPlane(DP_LEFT_NONSTOP); middle_sel->SetDisplayedPlane(DP_MIDDLE_LOAD); right_sel->SetDisplayedPlane(DP_RIGHT_UNLOAD); + this->EnableWidget(ORDER_WIDGET_NON_STOP); this->SetWidgetLoweredState(ORDER_WIDGET_NON_STOP, order->GetNonStopType() & ONSF_NO_STOP_AT_INTERMEDIATE_STATIONS); } this->DisableWidget(ORDER_WIDGET_FULL_LOAD); @@ -883,6 +884,7 @@ public: left_sel->SetDisplayedPlane(DP_LEFT_NONSTOP); middle_sel->SetDisplayedPlane(DP_MIDDLE_REFIT); right_sel->SetDisplayedPlane(DP_RIGHT_SERVICE); + this->EnableWidget(ORDER_WIDGET_NON_STOP); this->SetWidgetLoweredState(ORDER_WIDGET_NON_STOP, order->GetNonStopType() & ONSF_NO_STOP_AT_INTERMEDIATE_STATIONS); } this->SetWidgetLoweredState(ORDER_WIDGET_SERVICE, order->GetDepotOrderType() & ODTFB_SERVICE); -- cgit v1.2.3-70-g09d2