mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-06 22:47:29 -06:00
Fix crash when saving ucp project
CURA-11403
This commit is contained in:
parent
fca8d2a751
commit
0d40d2b07f
1 changed files with 1 additions and 1 deletions
|
@ -118,7 +118,7 @@ class SettingsExportModel(QObject):
|
|||
setting_type = settings_stack.getProperty(setting_to_export, "type")
|
||||
if setting_type is not None:
|
||||
# This is not very good looking, but will do for now
|
||||
value = SettingDefinition.settingValueToString(setting_type, value) + " " + unit
|
||||
value = f"{str(SettingDefinition.settingValueToString(setting_type, value))} {unit}"
|
||||
else:
|
||||
value = str(value)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue