diff options
author | mkaay <mkaay@mkaay.de> | 2011-02-14 19:38:30 +0100 |
---|---|---|
committer | mkaay <mkaay@mkaay.de> | 2011-02-14 19:38:30 +0100 |
commit | ee51a796622772bc711ce7840df66b53b3fad4ee (patch) | |
tree | 880eb8541b35017bc8955f2a7154b9ab14576bb9 | |
parent | no connection error on gui startup (diff) | |
download | pyload-ee51a796622772bc711ce7840df66b53b3fad4ee.tar.xz |
gui DownloadInfo fix
-rw-r--r-- | module/gui/Queue.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/module/gui/Queue.py b/module/gui/Queue.py index 17717795e..a4c0cf389 100644 --- a/module/gui/Queue.py +++ b/module/gui/Queue.py @@ -131,7 +131,7 @@ class QueueModel(CollectorModel): return for p, pack in enumerate(self._data): for d in downloading: - child = pack.getChild(d.id) + child = pack.getChild(d.fid) if child: dd = { "name": d.name, @@ -148,7 +148,7 @@ class QueueModel(CollectorModel): "wait_until": d.wait_until } child.data["downloading"] = dd - k = pack.getChildKey(d.id) + k = pack.getChildKey(d.fid) 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))) self.updateCount() |