mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-08-12 20:19:13 +08:00
Better file name for saving file (project) without suggested name. CURA-3226
This commit is contained in:
parent
5869e82495
commit
b257632b14
@ -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…
x
Reference in New Issue
Block a user