diff options
author | Jaime van Kessel <nallath@gmail.com> | 2021-08-30 12:09:55 +0300 |
---|---|---|
committer | Jaime van Kessel <nallath@gmail.com> | 2021-08-30 12:09:55 +0300 |
commit | 183fbfad419d8493cd361b3135aee35c542dbc4c (patch) | |
tree | 481625349b5ee8a605ed3f4cdd4c6073560cbc34 /plugins/DigitalLibrary/resources/qml/SaveProjectFilesPage.qml | |
parent | 8de5e1e5b9db9a916d550401befd5ff75a90bacb (diff) |
Disable save to DF if the textfield is in an invalid state
CURA-8502
Diffstat (limited to 'plugins/DigitalLibrary/resources/qml/SaveProjectFilesPage.qml')
-rw-r--r-- | plugins/DigitalLibrary/resources/qml/SaveProjectFilesPage.qml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/DigitalLibrary/resources/qml/SaveProjectFilesPage.qml b/plugins/DigitalLibrary/resources/qml/SaveProjectFilesPage.qml index 30e3513019..d8ae78d96d 100644 --- a/plugins/DigitalLibrary/resources/qml/SaveProjectFilesPage.qml +++ b/plugins/DigitalLibrary/resources/qml/SaveProjectFilesPage.qml @@ -200,7 +200,7 @@ Item anchors.bottom: parent.bottom anchors.right: parent.right text: "Save" - enabled: (asProjectCheckbox.checked || asSlicedCheckbox.checked) && dfFilenameTextfield.text.length >= 1 + enabled: (asProjectCheckbox.checked || asSlicedCheckbox.checked) && dfFilenameTextfield.text.length >= 1 && dfFilenameTextfield.state !== 'invalid' onClicked: { |