mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-08-16 12:05:57 +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.
|
||||
if base_name.startswith(self._abbr_machine + "_"):
|
||||
return base_name
|
||||
# Only return abbreviation if no base name is given.
|
||||
if base_name == "":
|
||||
return self._abbr_machine
|
||||
else:
|
||||
return self._abbr_machine + "_" + base_name
|
||||
return self._abbr_machine + "_" + base_name
|
||||
else:
|
||||
return base_name
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user