mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-08-18 07:36:04 +08:00
Undo only abbreviation as job name. CURA-3226
This commit is contained in:
parent
d0721b1feb
commit
580010b673
@ -210,11 +210,7 @@ class PrintInformation(QObject):
|
|||||||
# Don't add abbreviation if it already has the exact same abbreviation.
|
# Don't add abbreviation if it already has the exact same abbreviation.
|
||||||
if base_name.startswith(self._abbr_machine + "_"):
|
if base_name.startswith(self._abbr_machine + "_"):
|
||||||
return base_name
|
return base_name
|
||||||
# Only return abbreviation if no base name is given.
|
return self._abbr_machine + "_" + base_name
|
||||||
if base_name == "":
|
|
||||||
return self._abbr_machine
|
|
||||||
else:
|
|
||||||
return self._abbr_machine + "_" + base_name
|
|
||||||
else:
|
else:
|
||||||
return base_name
|
return base_name
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user