diff --git a/sloth/annotations/model.py b/sloth/annotations/model.py index 58b98cb..f46390a 100644 --- a/sloth/annotations/model.py +++ b/sloth/annotations/model.py @@ -610,7 +610,7 @@ class AnnotationTreeView(QTreeView): block = self.blockSignals(True) sel = QItemSelection() for item in items: - sel.merge(QItemSelection(item.index(), item.index()), QItemSelectionModel.SelectCurrent) + sel.merge(QItemSelection(item.index(), item.index(1)), QItemSelectionModel.SelectCurrent) self.selectionModel().clear() self.selectionModel().select(sel, QItemSelectionModel.Select) self.blockSignals(block)