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.py9
1 files changed, 9 insertions, 0 deletions
diff --git a/module/gui/Collector.py b/module/gui/Collector.py
index 8b421001e..356ab36ec 100644
--- a/module/gui/Collector.py
+++ b/module/gui/Collector.py
@@ -112,6 +112,15 @@ class PackageCollector(QThread):
remove.reverse()
for k in remove:
self.rootItem.takeChild(k)
+ for pack in ItemIterator(self.rootItem):
+ if pack.getPackData()["id"] == "fixed":
+ return
+ item = self.PackageCollectorPack(self)
+ item.setPackData({"id":"fixed"})
+ item.setData(0, Qt.DisplayRole, QVariant("Single Links"))
+ item.setFlags(Qt.ItemIsEnabled | Qt.ItemIsSelectable)
+ self.rootItem.addChild(item)
+ self.linkCollector = item
def pauseItemUpdate(self, pid, pause=True):
locker = QMutexLocker(self.mutex)