Re-enable validators in ImageLoaderPlugin

CURA-8684
This commit is contained in:
casper 2022-01-31 15:47:42 +01:00
parent b2af6308e5
commit 4cb4e0e38c

View file

@ -45,7 +45,7 @@ UM.Dialog
Layout.fillWidth: true Layout.fillWidth: true
selectByMouse: true selectByMouse: true
objectName: "Peak_Height" objectName: "Peak_Height"
// validator: RegExpValidator { regExp: /^\d{0,3}([\,|\.]\d*)?$/ } validator: RegExpValidator { regExp: /^\d{0,3}([\,|\.]\d*)?$/ }
onTextChanged: manager.onPeakHeightChanged(text) onTextChanged: manager.onPeakHeightChanged(text)
} }
@ -76,7 +76,7 @@ UM.Dialog
selectByMouse: true selectByMouse: true
Layout.fillWidth: true Layout.fillWidth: true
objectName: "Base_Height" objectName: "Base_Height"
// validator: RegExpValidator { regExp: /^\d{0,3}([\,|\.]\d*)?$/ } validator: RegExpValidator { regExp: /^\d{0,3}([\,|\.]\d*)?$/ }
onTextChanged: manager.onBaseHeightChanged(text) onTextChanged: manager.onBaseHeightChanged(text)
} }
@ -108,7 +108,7 @@ UM.Dialog
objectName: "Width" objectName: "Width"
Layout.fillWidth: true Layout.fillWidth: true
focus: true focus: true
// validator: RegExpValidator { regExp: /^[1-9]\d{0,2}([\,|\.]\d*)?$/ } validator: RegExpValidator { regExp: /^[1-9]\d{0,2}([\,|\.]\d*)?$/ }
onTextChanged: manager.onWidthChanged(text) onTextChanged: manager.onWidthChanged(text)
} }
@ -140,7 +140,7 @@ UM.Dialog
selectByMouse: true selectByMouse: true
objectName: "Depth" objectName: "Depth"
focus: true focus: true
// validator: RegExpValidator { regExp: /^[1-9]\d{0,2}([\,|\.]\d*)?$/ } validator: RegExpValidator { regExp: /^[1-9]\d{0,2}([\,|\.]\d*)?$/ }
onTextChanged: manager.onDepthChanged(text) onTextChanged: manager.onDepthChanged(text)
} }
@ -233,7 +233,7 @@ UM.Dialog
Layout.fillWidth: true Layout.fillWidth: true
selectByMouse: true selectByMouse: true
objectName: "Transmittance" objectName: "Transmittance"
// validator: RegExpValidator { regExp: /^[1-9]\d{0,2}([\,|\.]\d*)?$/ } validator: RegExpValidator { regExp: /^[1-9]\d{0,2}([\,|\.]\d*)?$/ }
onTextChanged: manager.onTransmittanceChanged(text) onTextChanged: manager.onTransmittanceChanged(text)
} }