diff options
author | mkaay <mkaay@mkaay.de> | 2010-09-22 16:20:15 +0200 |
---|---|---|
committer | mkaay <mkaay@mkaay.de> | 2010-09-22 16:20:15 +0200 |
commit | 4f72518f40ee83bd4e711e800affae0c1f6201bc (patch) | |
tree | e869266536dbae5bd2c2e5cc09cc469b75704620 /module/gui | |
parent | curl gobal init (diff) | |
download | pyload-4f72518f40ee83bd4e711e800affae0c1f6201bc.tar.xz |
extended cnl
Diffstat (limited to 'module/gui')
-rw-r--r-- | module/gui/Collector.py | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/module/gui/Collector.py b/module/gui/Collector.py index 08d82daf8..5fc041a8e 100644 --- a/module/gui/Collector.py +++ b/module/gui/Collector.py @@ -194,7 +194,10 @@ class CollectorModel(QAbstractItemModel): pointer = self._data[row] index = self.createIndex(row, column, pointer) elif parent.isValid(): - pointer = parent.internalPointer().children[row] + try: + pointer = parent.internalPointer().children[row] + except: + return QModelIndex() index = self.createIndex(row, column, pointer) else: index = QModelIndex() |