fix get child path

This commit is contained in:
iLLiCiTiT 2021-01-25 11:52:16 +01:00
parent 0bea699c2b
commit 54470110cf

View file

@ -577,7 +577,7 @@ class DictMutableKeysEntity(ItemEntity):
def get_child_path(self, child_obj):
result_key = None
for key, _child_obj in self.non_gui_children.items():
for key, _child_obj in self.children_by_key.items():
if _child_obj is child_obj:
result_key = key
break