summaryrefslogtreecommitdiffstats
path: root/module/gui/Collector.py
diff options
context:
space:
mode:
Diffstat (limited to 'module/gui/Collector.py')
-rw-r--r--module/gui/Collector.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/module/gui/Collector.py b/module/gui/Collector.py
index c569785e2..3ec4262f1 100644
--- a/module/gui/Collector.py
+++ b/module/gui/Collector.py
@@ -71,13 +71,13 @@ class CollectorModel(QAbstractItemModel):
called from main loop, pass events to the correct methods
"""
QMutexLocker(self.mutex)
- if event.event == "reload":
+ if event.eventname == "reload":
self.fullReload()
- elif event.event == "remove":
+ elif event.eventname == "remove":
self.removeEvent(event)
- elif event.event == "insert":
+ elif event.eventname == "insert":
self.insertEvent(event)
- elif event.event == "update":
+ elif event.eventname == "update":
self.updateEvent(event)
def fullReload(self):