mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-07 06:57:28 -06:00
If setting is false, it will still return false (instead of empty string)
CURA-2271
This commit is contained in:
parent
e7335d9814
commit
9770037398
1 changed files with 2 additions and 2 deletions
|
@ -175,8 +175,8 @@ class ContainerManager(QObject):
|
|||
return ""
|
||||
|
||||
result = containers[0].getMetaDataEntry(entry_name)
|
||||
if result:
|
||||
return result
|
||||
if result is not None:
|
||||
return str(result)
|
||||
else:
|
||||
return ""
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue