diff options
Diffstat (limited to 'src/order_gui.cpp')
-rw-r--r-- | src/order_gui.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/order_gui.cpp b/src/order_gui.cpp index 160f7469b..ffa009257 100644 --- a/src/order_gui.cpp +++ b/src/order_gui.cpp @@ -1279,6 +1279,12 @@ public: } this->RaiseWidget(ORDER_WIDGET_GOTO); this->SetWidgetDirty(ORDER_WIDGET_GOTO); + + /* Remove drag highlighting if it exists. */ + if (this->order_over != INVALID_ORDER) { + this->order_over = INVALID_ORDER; + this->SetWidgetDirty(ORDER_WIDGET_ORDER_LIST); + } } virtual void OnMouseLoop() |