mirror of
https://github.com/Ultimaker/Cura.git
synced 2026-02-06 08:10:55 -07:00
Fix merge conflict in print information - CURA-4581
This commit is contained in:
parent
6d2bcd9b3e
commit
571ebccb89
1 changed files with 4 additions and 1 deletions
|
|
@ -308,8 +308,11 @@ class PrintInformation(QObject):
|
|||
# name is "" when I first had some meshes and afterwards I deleted them so the naming should start again
|
||||
is_empty = name == ""
|
||||
if is_empty or (self._base_name == "" and self._base_name != name):
|
||||
# remove ".curaproject" suffix from (imported) the file name
|
||||
if name.endswith(".curaproject"):
|
||||
name = name[:name.rfind(".curaproject")]
|
||||
self._base_name = name
|
||||
self._updateJobName( empty_name = is_empty)
|
||||
self._updateJobName(empty_name = is_empty)
|
||||
|
||||
## Created an acronymn-like abbreviated machine name from the currently active machine name
|
||||
# Called each time the global stack is switched
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue