From c225a31e70e85c6e400a7ed4407a1fa53de29689 Mon Sep 17 00:00:00 2001 From: mkaay Date: Mon, 28 Dec 2009 20:44:49 +0100 Subject: you can now drop single links directly into a package --- module/gui/Collector.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'module/gui') diff --git a/module/gui/Collector.py b/module/gui/Collector.py index 07a5203e9..1b1a6b654 100644 --- a/module/gui/Collector.py +++ b/module/gui/Collector.py @@ -88,7 +88,7 @@ class PackageCollector(QThread): item = newPack item.setData(0, Qt.DisplayRole, QVariant(item.getPackData()["package_name"])) item.setData(0, Qt.UserRole, QVariant(pid)) - item.setFlags(Qt.ItemIsSelectable | Qt.ItemIsEnabled) + item.setFlags(Qt.ItemIsSelectable | Qt.ItemIsEnabled | Qt.ItemIsDropEnabled) def getPack(self, pid): for k, pack in enumerate(ItemIterator(self.rootItem)): -- cgit v1.2.3