From 6c63655a6ebfa286d43f98f37973aab0c5795949 Mon Sep 17 00:00:00 2001 From: jesopo Date: Thu, 27 Sep 2018 12:16:30 +0100 Subject: [PATCH] Pass parent EventHook down to children --- src/EventManager.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/EventManager.py b/src/EventManager.py index 292f5bf0..537cf6ee 100644 --- a/src/EventManager.py +++ b/src/EventManager.py @@ -202,7 +202,7 @@ class EventHook(object): child_name_lower = child_name.lower() if not child_name_lower in self._children: self._children[child_name_lower] = EventHook(self.log, - child_name_lower) + child_name_lower, self) return self._children[child_name_lower] def remove_child(self, child_name): child_name_lower = child_name.lower()