Fix crash in Outline mode with multi-item select #355

Closes issue #355 and pull request #385
This commit is contained in:
RiderExMachina 2018-10-02 17:30:07 -07:00 committed by Curtis Gedak
parent 21423734e9
commit 41e9467267

View file

@ -162,7 +162,7 @@ class textEditView(QTextEdit):
self.setEnabled(True)
if i.column() != self._column:
i = i.sibling(i.row(), self._column)
self._indexes.append(QPersistentModelIndex(i))
self._indexes.append(QModelIndex(i))
if not self._model:
self.setModel(i.model())