diff options
Diffstat (limited to 'module/gui/Collector.py')
-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() |