mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-08-12 12:19:03 +08: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
@ -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…
x
Reference in New Issue
Block a user