mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-11-02 20:52:20 -07:00
Use the job name for saving files
CURA-183 #Done
This commit is contained in:
parent
5b2cdb8012
commit
d4ea9246f6
2 changed files with 4 additions and 3 deletions
|
|
@ -83,6 +83,7 @@ Rectangle {
|
|||
height: UM.Theme.sizes.sidebar_inputFields.height
|
||||
property int unremovableSpacing: 5
|
||||
text: ''
|
||||
onTextChanged: Printer.setJobName(text)
|
||||
onEditingFinished: {
|
||||
if (printJobTextfield.text != ''){
|
||||
printJobTextfield.focus = false
|
||||
|
|
@ -189,7 +190,7 @@ Rectangle {
|
|||
text: UM.OutputDeviceManager.activeDeviceShortDescription
|
||||
onClicked:
|
||||
{
|
||||
UM.OutputDeviceManager.requestWriteToDevice(UM.OutputDeviceManager.activeDevice)
|
||||
UM.OutputDeviceManager.requestWriteToDevice(UM.OutputDeviceManager.activeDevice, Printer.jobName)
|
||||
}
|
||||
|
||||
style: ButtonStyle {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue