mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-08-13 04:29:01 +08:00
Fix crash when saving ucp project
CURA-11403
This commit is contained in:
parent
fca8d2a751
commit
0d40d2b07f
@ -118,7 +118,7 @@ class SettingsExportModel(QObject):
|
|||||||
setting_type = settings_stack.getProperty(setting_to_export, "type")
|
setting_type = settings_stack.getProperty(setting_to_export, "type")
|
||||||
if setting_type is not None:
|
if setting_type is not None:
|
||||||
# This is not very good looking, but will do for now
|
# 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:
|
else:
|
||||||
value = str(value)
|
value = str(value)
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user