mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-06-30 08:35:09 +08:00
Same as before.
CURA-10904
This commit is contained in:
parent
6609741323
commit
794cdfd077
@ -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…
x
Reference in New Issue
Block a user