summaryrefslogtreecommitdiffstats
path: root/module/gui/MainWindow.py
diff options
context:
space:
mode:
authorGravatar mkaay <mkaay@mkaay.de> 2009-12-28 15:32:06 +0100
committerGravatar mkaay <mkaay@mkaay.de> 2009-12-28 15:32:06 +0100
commitce2a8294b5aefe4497c88f24c817084868b8b1eb (patch)
treecf52569c6f52a12a4a2c5d5a6358aea797697ec5 /module/gui/MainWindow.py
parentDLC Error Log (diff)
downloadpyload-ce2a8294b5aefe4497c88f24c817084868b8b1eb.tar.xz
gui now stable
Diffstat (limited to 'module/gui/MainWindow.py')
-rw-r--r--module/gui/MainWindow.py6
1 files changed, 5 insertions, 1 deletions
diff --git a/module/gui/MainWindow.py b/module/gui/MainWindow.py
index 1e769110b..76f60a5bd 100644
--- a/module/gui/MainWindow.py
+++ b/module/gui/MainWindow.py
@@ -281,7 +281,11 @@ class MainWindow(QMainWindow):
"""
items = self.tabs["collector"]["package_view"].selectedItems()
for item in items:
- id = item.data(0, Qt.UserRole).toPyObject()
+ try:
+ id = item.getFileData()["id"]
+ id = item.parent().getPackData()["id"]
+ except:
+ id = item.getPackData()["id"]
self.emit(SIGNAL("pushPackageToQueue"), id)
def saveWindow(self):