diff options
author | Remco Burema <r.burema@ultimaker.com> | 2021-07-20 18:58:29 +0300 |
---|---|---|
committer | Remco Burema <r.burema@ultimaker.com> | 2021-07-20 18:58:29 +0300 |
commit | 71937bf828f3e20fde7cf70658cc8fe66ec15d14 (patch) | |
tree | d4d0fa605bb824bc36b2639a4358b5ddc6baeca0 /plugins/DigitalLibrary/resources/qml/SaveProjectFilesPage.qml | |
parent | 918d1f188b2094520e8f99a0b2507a5f21723e2c (diff) |
DL: Align with online backend on allowed characters.
CURA-8395
Diffstat (limited to 'plugins/DigitalLibrary/resources/qml/SaveProjectFilesPage.qml')
-rw-r--r-- | plugins/DigitalLibrary/resources/qml/SaveProjectFilesPage.qml | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/DigitalLibrary/resources/qml/SaveProjectFilesPage.qml b/plugins/DigitalLibrary/resources/qml/SaveProjectFilesPage.qml index 03bd655957..6b9361a900 100644 --- a/plugins/DigitalLibrary/resources/qml/SaveProjectFilesPage.qml +++ b/plugins/DigitalLibrary/resources/qml/SaveProjectFilesPage.qml @@ -63,7 +63,7 @@ Item anchors.topMargin: UM.Theme.getSize("thin_margin").height validator: RegExpValidator { - regExp: /^[^\\\/\*\?\|\[\]]{0,96}$/ + regExp: /^[\w\-\. ()]{0,255}$/ } text: PrintInformation.jobName @@ -200,7 +200,7 @@ Item anchors.bottom: parent.bottom anchors.right: parent.right text: "Save" - enabled: (asProjectCheckbox.checked || asSlicedCheckbox.checked) && dfFilenameTextfield.text != "" + enabled: (asProjectCheckbox.checked || asSlicedCheckbox.checked) && dfFilenameTextfield.text.length >= 3 onClicked: { |