mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-08-12 17:28:59 +08:00
CURA-5246 Just update the job name when it must be updated.
This commit is contained in:
parent
74016f0fb3
commit
626c424a02
@ -337,7 +337,7 @@ class PrintInformation(QObject):
|
||||
if is_gcode or is_project_file or (is_empty or (self._base_name == "" and self._base_name != name)):
|
||||
# Only take the file name part
|
||||
self._base_name = filename_parts[0]
|
||||
self._updateJobName()
|
||||
self._updateJobName()
|
||||
|
||||
@pyqtProperty(str, fset = setBaseName, notify = baseNameChanged)
|
||||
def baseName(self):
|
||||
|
Loading…
x
Reference in New Issue
Block a user