Tracerestrict: Fix GUI issue with picker button raise/lower states.

When a picker button was selected, clicking on a different picker button
would cause both buttons to be raised, instead of just the previous.
pull/6/merge
Jonathan G Rennison 9 years ago
parent d2e8d205b9
commit b5b06351ac

@ -1645,6 +1645,9 @@ private:
*/
void SetObjectToPlaceAction(int widget, CursorID cursor)
{
if (this->current_placement_widget != -1 && widget != this->current_placement_widget) {
ResetObjectToPlace();
}
this->ToggleWidgetLoweredState(widget);
this->SetWidgetDirty(widget);
if (this->IsWidgetLowered(widget)) {

Loading…
Cancel
Save