mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-05-02 00:34:26 +08:00
Fix adding machine prefix
CURA-4276
This commit is contained in:
parent
a365fec1ac
commit
8472830fb9
@ -227,7 +227,7 @@ class PrintInformation(QObject):
|
||||
# when a file is opened using the terminal; the filename comes from _onFileLoaded and still contains its
|
||||
# extension. This cuts the extension off if necessary.
|
||||
name = os.path.splitext(name)[0]
|
||||
|
||||
name = self.createJobName(name)
|
||||
if self._job_name != name and (self._job_name == "" or name == ""):
|
||||
self._job_name = name
|
||||
self.jobNameChanged.emit()
|
||||
|
Loading…
x
Reference in New Issue
Block a user