Don't trigger eventCallback when moving to the other arrow of a spinner (#3380)
This commit is contained in:
parent
dac94fad57
commit
926ad522ce
@ -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()
|
||||
|
Loading…
x
Reference in New Issue
Block a user