mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-08-13 10:39:00 +08:00
SpinBox fixed for values above the max value
Review comments Fixes CURA-10096
This commit is contained in:
parent
fe5893feb6
commit
1ebde31397
@ -113,8 +113,8 @@ Item
|
||||
|
||||
onTextChanged:
|
||||
{
|
||||
var value = spinBox.valueFromText(spinBoxText.text);
|
||||
spinBoxText.text = spinBox.textFromValue(value);
|
||||
var value = spinBox.valueFromText(text);
|
||||
text = spinBox.textFromValue(value);
|
||||
spinBox.value = value;
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user