Browse Source

Only set user-specified job name when the editting is finished

CURA-5280
Lipu Fei 6 years ago
parent
commit
3b0b6d300b
1 changed files with 1 additions and 3 deletions
  1. 1 3
      resources/qml/JobSpecs.qml

+ 1 - 3
resources/qml/JobSpecs.qml

@@ -80,10 +80,8 @@ Item {
                 property int unremovableSpacing: 5
                 text: PrintInformation.jobName
                 horizontalAlignment: TextInput.AlignRight
-                onTextChanged: {
-                    PrintInformation.setJobName(text, true);
-                }
                 onEditingFinished: {
+                    PrintInformation.setJobName(text, true);
                     if (printJobTextfield.text != ''){
                         printJobTextfield.focus = false;
                     }