mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-12-10 15:28:56 -07:00
Better file name for saving file (project) without suggested name. CURA-3226
This commit is contained in:
parent
5869e82495
commit
b257632b14
1 changed files with 4 additions and 1 deletions
|
|
@ -205,7 +205,10 @@ class PrintInformation(QObject):
|
|||
if self._pre_sliced:
|
||||
return catalog.i18nc("@label", "Pre-sliced file {0}", base_name)
|
||||
elif Preferences.getInstance().getValue("cura/jobname_prefix"):
|
||||
return self._abbr_machine + "_" + base_name
|
||||
if base_name == "":
|
||||
return self._abbr_machine
|
||||
else:
|
||||
return self._abbr_machine + "_" + base_name
|
||||
else:
|
||||
return base_name
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue