mirror of
https://github.com/olivierkes/manuskript.git
synced 2024-05-17 11:22:28 +12:00
Fix crash in Outline mode with multi-item select #355
Closes issue #355 and pull request #385
This commit is contained in:
parent
21423734e9
commit
41e9467267
|
@ -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())
|
||||
|
|
Loading…
Reference in a new issue