Fix image reader peak height

CURA-7429
This commit is contained in:
Nino van Hooff 2020-05-07 14:29:30 +02:00
parent 2ecd30d6a9
commit 5a3bcb6161
3 changed files with 8 additions and 4 deletions

View file

@ -43,7 +43,7 @@ UM.Dialog
TextField {
id: peak_height
objectName: "Peak_Height"
validator: RegExpValidator {regExp: /^-?\d{1,3}([\,|\.]\d*)?$/}
validator: RegExpValidator {regExp: /^\d{1,3}([\,|\.]\d*)?$/}
width: 180 * screenScaleFactor
onTextChanged: { manager.onPeakHeightChanged(text) }
}