mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-11-02 20:52:20 -07:00
Implement allowPositive for printhead settings
CURA-6690
This commit is contained in:
parent
17a832f52f
commit
c43cdb5c63
3 changed files with 8 additions and 0 deletions
|
|
@ -48,9 +48,11 @@ NumericTextFieldWithUnit
|
|||
|
||||
valueValidator: DoubleValidator {
|
||||
bottom: allowNegativeValue ? Number.NEGATIVE_INFINITY : 0
|
||||
top: allowPositiveValue ? Number.POSITIVE_INFINITY : 0
|
||||
decimals: 6
|
||||
notation: DoubleValidator.StandardNotation
|
||||
}
|
||||
|
||||
valueText: axisValue
|
||||
|
||||
editingFinishedFunction: function()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue