fix binding loops disallowing to increment/decrement spinbox value under certain conditions

This commit is contained in:
Alexander Ivash 2018-06-01 18:20:47 +03:00
parent 8d213efa75
commit 56466e61d3

View file

@ -57,7 +57,8 @@ SpinBox {
onValueChanged: realValue = value/factor
stepSize: realStepSize*factor
value: realValue*factor
value: Math.round(realValue*factor)
to : realTo*factor
from : realFrom*factor