mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-12 17:27:51 -06:00
Recreate bindings for the text fields
CURA-6690
This commit is contained in:
parent
c43cdb5c63
commit
c661f82756
2 changed files with 24 additions and 2 deletions
|
@ -156,7 +156,13 @@ UM.TooltipArea
|
|||
const value = propertyProvider.properties.value
|
||||
return value ? value : ""
|
||||
}
|
||||
validator: RegExpValidator { regExp: allowNegativeValue ? /-?[0-9\.,]{0,6}/ : /[0-9\.,]{0,6}/ }
|
||||
validator: DoubleValidator
|
||||
{
|
||||
bottom: allowNegativeValue ? Number.NEGATIVE_INFINITY : 0
|
||||
top: allowPositiveValue ? Number.POSITIVE_INFINITY : 0
|
||||
decimals: 6
|
||||
notation: DoubleValidator.StandardNotation
|
||||
}
|
||||
|
||||
onEditingFinished: editingFinishedFunction()
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue