mypy: Fix new issues in completionview
This commit is contained in:
parent
320625a0d8
commit
660a7700d3
|
|
@ -277,7 +277,9 @@ class CompletionView(QTreeView):
|
|||
return
|
||||
|
||||
selmodel.setCurrentIndex(
|
||||
idx, QItemSelectionModel.ClearAndSelect | QItemSelectionModel.Rows)
|
||||
idx,
|
||||
QItemSelectionModel.ClearAndSelect | # type: ignore
|
||||
QItemSelectionModel.Rows)
|
||||
|
||||
# if the last item is focused, try to fetch more
|
||||
if idx.row() == self.model().rowCount(idx.parent()) - 1:
|
||||
|
|
|
|||
Loading…
Reference in New Issue