mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-05-15 15:08:01 +08:00
Fix merge conflict
This commit is contained in:
parent
dd8e5e2c6e
commit
10b5a19043
@ -308,6 +308,9 @@ class PrintInformation(QObject):
|
|||||||
# name is "" when I first had some meshes and afterwards I deleted them so the naming should start again
|
# name is "" when I first had some meshes and afterwards I deleted them so the naming should start again
|
||||||
is_empty = name == ""
|
is_empty = name == ""
|
||||||
if is_empty or (self._base_name == "" and self._base_name != 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._base_name = name
|
||||||
self._updateJobName( empty_name = is_empty)
|
self._updateJobName( empty_name = is_empty)
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user