Don't trigger eventCallback when moving to the other arrow of a spinner (#3380)

This commit is contained in:
Alayan-stk-2
2018-08-19 00:48:23 +02:00
committed by auriamg
parent dac94fad57
commit 926ad522ce

View File

@@ -242,7 +242,7 @@ EventPropagation SpinnerWidget::rightPressed(const int playerID)
else
setSelectedButton(/* right*/ true);
return EVENT_LET;
return EVENT_BLOCK_BUT_HANDLED;
} // rightPressed
// -----------------------------------------------------------------------------
@@ -262,7 +262,7 @@ EventPropagation SpinnerWidget::leftPressed(const int playerID)
else
return EVENT_BLOCK;
return EVENT_LET;
return EVENT_BLOCK_BUT_HANDLED;
} // leftPressed
void SpinnerWidget::activateSelectedButton()