From 3b0b6d300b0abe6571c35955040d0a3192a61019 Mon Sep 17 00:00:00 2001 From: Lipu Fei Date: Mon, 28 May 2018 17:34:12 +0200 Subject: [PATCH] Only set user-specified job name when the editting is finished CURA-5280 --- resources/qml/JobSpecs.qml | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/resources/qml/JobSpecs.qml b/resources/qml/JobSpecs.qml index 579f9bcc05..f9ce286706 100644 --- a/resources/qml/JobSpecs.qml +++ b/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; }