mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-11-27 04:41:06 -07:00
Setting empty jobname is now possible again
I hope this fixes CURA-707, but it can only be tested through means of a build.
This commit is contained in:
parent
90293a4a5c
commit
aafb981245
1 changed files with 1 additions and 4 deletions
|
|
@ -130,11 +130,8 @@ Rectangle {
|
||||||
text: ''
|
text: ''
|
||||||
horizontalAlignment: TextInput.AlignRight
|
horizontalAlignment: TextInput.AlignRight
|
||||||
onTextChanged: {
|
onTextChanged: {
|
||||||
if(text != ''){
|
|
||||||
//Prevent that jobname is set to an empty string
|
|
||||||
Printer.setJobName(text)
|
Printer.setJobName(text)
|
||||||
}
|
}
|
||||||
}
|
|
||||||
onEditingFinished: {
|
onEditingFinished: {
|
||||||
if (printJobTextfield.text != ''){
|
if (printJobTextfield.text != ''){
|
||||||
printJobTextfield.focus = false
|
printJobTextfield.focus = false
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue