mirror of
https://github.com/Ultimaker/Cura.git
synced 2026-03-17 16:55:31 -06:00
Undo only abbreviation as job name. CURA-3226
This commit is contained in:
parent
d0721b1feb
commit
580010b673
1 changed files with 1 additions and 5 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue