mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-08-09 14:55:03 -06:00
filename is basename without the printer info
CURA-11403
This commit is contained in:
parent
d2566d72ff
commit
942589d3a2
2 changed files with 2 additions and 2 deletions
|
@ -64,7 +64,7 @@ class UCPDialog(QObject):
|
|||
device.writeSuccess.connect(lambda: self._onSuccess())
|
||||
device.writeFinished.connect(lambda: self._onFinished())
|
||||
|
||||
file_name = CuraApplication.getInstance().getPrintInformation().jobName
|
||||
file_name = CuraApplication.getInstance().getPrintInformation().baseName
|
||||
|
||||
try:
|
||||
device.requestWrite(nodes, file_name, ["application/x-ucp"], workspace_handler,
|
||||
|
|
|
@ -87,7 +87,7 @@ Cura.Menu
|
|||
"file_type": "workspace",
|
||||
"preferred_mimetypes": "application/x-ucp",
|
||||
"limit_mimetypes": ["application/x-ucp"]};
|
||||
UM.OutputDeviceManager.requestWriteToDevice("local_file", PrintInformation.jobName, args)
|
||||
UM.OutputDeviceManager.requestWriteToDevice("local_file", PrintInformation.baseName, args)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue