summaryrefslogtreecommitdiffstats
path: root/module/gui/Queue.py
diff options
context:
space:
mode:
Diffstat (limited to 'module/gui/Queue.py')
-rw-r--r--module/gui/Queue.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/module/gui/Queue.py b/module/gui/Queue.py
index 7e63e6180..52f11fd8c 100644
--- a/module/gui/Queue.py
+++ b/module/gui/Queue.py
@@ -46,6 +46,9 @@ class Queue(QThread):
self.update()
sleep(self.interval)
+ def stop(self):
+ self.running = False
+
def update(self):
locker = QMutexLocker(self.mutex)
packs = self.connector.getPackageQueue()