mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-06 22:47:29 -06:00
Solved (with an ugly fix) that after loading some projects, 'Slicing...' appears without doing anything. CURA-1263
This commit is contained in:
parent
a6194aa2cf
commit
a9a9390aa6
5 changed files with 13 additions and 1 deletions
|
@ -32,6 +32,7 @@ class SettingInheritanceManager(QObject):
|
|||
def getChildrenKeysWithOverride(self, key):
|
||||
definitions = self._global_container_stack.getBottom().findDefinitions(key=key)
|
||||
if not definitions:
|
||||
Logger.log("w", "Could not find definition for key [%s]", key)
|
||||
return []
|
||||
result = []
|
||||
for key in definitions[0].getAllKeys():
|
||||
|
@ -51,6 +52,7 @@ class SettingInheritanceManager(QObject):
|
|||
|
||||
definitions = self._global_container_stack.getBottom().findDefinitions(key=key)
|
||||
if not definitions:
|
||||
Logger.log("w", "Could not find definition for key [%s] (2)", key)
|
||||
return []
|
||||
result = []
|
||||
for key in definitions[0].getAllKeys():
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue