increment or decrement on space key
This commit is contained in:
parent
3d96541079
commit
13575678d6
@ -294,7 +294,8 @@ void QskSpinBox::keyPressEvent(QKeyEvent *event)
|
|||||||
return;
|
return;
|
||||||
case Qt::Key_Select:
|
case Qt::Key_Select:
|
||||||
case Qt::Key_Space:
|
case Qt::Key_Space:
|
||||||
// TODO click currently focused -/+
|
if(focusIndex() == Increment) increment(+stepSize());
|
||||||
|
if(focusIndex() == Decrement) increment(-stepSize());
|
||||||
return;
|
return;
|
||||||
default:
|
default:
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user