mirror of
https://github.com/Ultimaker/Cura.git
synced 2026-03-14 07:16:02 -06:00
Same as before.
CURA-10904
This commit is contained in:
parent
6609741323
commit
794cdfd077
1 changed files with 1 additions and 1 deletions
|
|
@ -118,7 +118,7 @@ class Definition(Linter):
|
|||
def _isDefinedInParent(self, key, value_dict, inherits_from):
|
||||
if self._ignore(key, "diagnostic-definition-redundant-override"):
|
||||
return False, None, None, None, None
|
||||
if "overrides" not in self._definitions[inherits_from] or key not in self._definitions[inherits_from]["overrides"]:
|
||||
if "overrides" not in self._definitions[inherits_from]:
|
||||
return self._isDefinedInParent(key, value_dict, self._definitions[inherits_from]["inherits"])
|
||||
|
||||
parent = self._definitions[inherits_from]["overrides"]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue