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:
Jaime van Kessel 2016-03-17 10:18:46 +01:00
parent 90293a4a5c
commit aafb981245

View File

@ -130,11 +130,8 @@ Rectangle {
text: ''
horizontalAlignment: TextInput.AlignRight
onTextChanged: {
if(text != ''){
//Prevent that jobname is set to an empty string
Printer.setJobName(text)
}
}
onEditingFinished: {
if (printJobTextfield.text != ''){
printJobTextfield.focus = false