mirror of
https://github.com/olivierkes/manuskript.git
synced 2024-09-21 03:51:26 +12:00
Minor bug
This commit is contained in:
parent
a27e5db6f5
commit
c5feb0fb6f
1 changed files with 1 additions and 1 deletions
|
@ -175,7 +175,7 @@ class textEditView(QTextEdit):
|
|||
# Setting highlighter
|
||||
if self._highlighting:
|
||||
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)
|
||||
elif item.isT2T():
|
||||
self.highlighter = t2tHighlighter(self)
|
||||
|
|
Loading…
Reference in a new issue