diff options
author | mkaay <mkaay@mkaay.de> | 2010-12-12 17:45:40 +0100 |
---|---|---|
committer | mkaay <mkaay@mkaay.de> | 2010-12-12 17:45:40 +0100 |
commit | ddc6c0c15c132933e9676d563bad37288a3212f5 (patch) | |
tree | a5d6ecbcc4b96be9f8aead14262f3aa3ec69a5df /module/gui/Collector.py | |
parent | fixed progress when resuming (diff) | |
download | pyload-ddc6c0c15c132933e9676d563bad37288a3212f5.tar.xz |
universal progress (ex. unrar progress), link info now emits update event, updated .pot
Diffstat (limited to 'module/gui/Collector.py')
-rw-r--r-- | module/gui/Collector.py | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/module/gui/Collector.py b/module/gui/Collector.py index 5fc041a8e..87d433566 100644 --- a/module/gui/Collector.py +++ b/module/gui/Collector.py @@ -142,8 +142,9 @@ class CollectorModel(QAbstractItemModel): if package.id == int(info["package"]): for k, child in enumerate(package.children): if child.id == int(event[3]): - child.data = info - child.data["downloading"] = None + child.data.update(info) + if not info["status"] == 12: + child.data["downloading"] = None self.emit(SIGNAL("dataChanged(const QModelIndex &, const QModelIndex &)"), self.index(k, 0, self.index(p, 0)), self.index(k, self.cols, self.index(p, self.cols))) break else: |