mirror of
https://github.com/olivierkes/manuskript.git
synced 2024-06-29 19:50:43 +12:00
Minor bug
This commit is contained in:
parent
a27e5db6f5
commit
c5feb0fb6f
|
@ -175,7 +175,7 @@ class textEditView(QTextEdit):
|
||||||
# Setting highlighter
|
# Setting highlighter
|
||||||
if self._highlighting:
|
if self._highlighting:
|
||||||
item = index.internalPointer()
|
item = index.internalPointer()
|
||||||
if self._column == Outline.text.value and not item.isT2T():
|
if self._column == Outline.text.value and not (item.isT2T() or item.isMD()):
|
||||||
self.highlighter = basicHighlighter(self)
|
self.highlighter = basicHighlighter(self)
|
||||||
elif item.isT2T():
|
elif item.isT2T():
|
||||||
self.highlighter = t2tHighlighter(self)
|
self.highlighter = t2tHighlighter(self)
|
||||||
|
|
Loading…
Reference in a new issue