Fixed event system logic

This commit is contained in:
2022-01-30 17:19:46 -06:00
parent a78c7e2261
commit 42f2be0602
3 changed files with 6 additions and 3 deletions

View File

@@ -42,7 +42,7 @@ class Controller(DummyMixin, Controller_Data):
if event:
try:
type, target, data = event
method = getattr(self.__class__, type)
method = getattr(self.__class__, target)
GLib.idle_add(method, (self, data,))
except Exception as e:
print(repr(e))