(svn r19959) -Fix (r19889): Disable drag destination highlighting when aborting a drag.

This commit is contained in:
alberth 2010-06-11 15:37:00 +00:00
parent e71fd4bb57
commit f053a82594
1 changed files with 6 additions and 0 deletions

View File

@ -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()