mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-11-30 06:11:09 -07:00
CURA-5246 Just update the job name when it must be updated.
This commit is contained in:
parent
74016f0fb3
commit
626c424a02
1 changed files with 1 additions and 1 deletions
|
|
@ -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)):
|
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
|
# Only take the file name part
|
||||||
self._base_name = filename_parts[0]
|
self._base_name = filename_parts[0]
|
||||||
self._updateJobName()
|
self._updateJobName()
|
||||||
|
|
||||||
@pyqtProperty(str, fset = setBaseName, notify = baseNameChanged)
|
@pyqtProperty(str, fset = setBaseName, notify = baseNameChanged)
|
||||||
def baseName(self):
|
def baseName(self):
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue