mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-08-13 05:49:01 +08:00
Only set user-specified job name when the editting is finished
CURA-5280
This commit is contained in:
parent
8a35d52ddd
commit
3b0b6d300b
@ -80,10 +80,8 @@ Item {
|
|||||||
property int unremovableSpacing: 5
|
property int unremovableSpacing: 5
|
||||||
text: PrintInformation.jobName
|
text: PrintInformation.jobName
|
||||||
horizontalAlignment: TextInput.AlignRight
|
horizontalAlignment: TextInput.AlignRight
|
||||||
onTextChanged: {
|
|
||||||
PrintInformation.setJobName(text, true);
|
|
||||||
}
|
|
||||||
onEditingFinished: {
|
onEditingFinished: {
|
||||||
|
PrintInformation.setJobName(text, true);
|
||||||
if (printJobTextfield.text != ''){
|
if (printJobTextfield.text != ''){
|
||||||
printJobTextfield.focus = false;
|
printJobTextfield.focus = false;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user