mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-08-08 22:35:03 -06:00
Fix job name UI binding
CURA-5367 UI should always refer to PrintInformation for the job name.
This commit is contained in:
parent
39b71add07
commit
bbd019f9e5
2 changed files with 2 additions and 3 deletions
|
@ -81,8 +81,8 @@ Item {
|
|||
text: PrintInformation.jobName
|
||||
horizontalAlignment: TextInput.AlignRight
|
||||
onEditingFinished: {
|
||||
text = text == "" ? "unnamed" : text;
|
||||
PrintInformation.setJobName(printJobTextfield.text, true);
|
||||
var new_name = text == "" ? "unnamed" : text;
|
||||
PrintInformation.setJobName(new_name, true);
|
||||
printJobTextfield.focus = false;
|
||||
}
|
||||
validator: RegExpValidator {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue