mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-06-23 15:30:45 -04:00
...
This commit is contained in:
parent
c7d84b206d
commit
003058d9ea
@ -41,7 +41,6 @@ class SyntaxHighlighter(QSyntaxHighlighter):
|
|||||||
return SimpleState(max(0, num))
|
return SimpleState(max(0, num))
|
||||||
|
|
||||||
def rehighlight(self):
|
def rehighlight(self):
|
||||||
self.outlineexplorer_data = {}
|
|
||||||
QApplication.setOverrideCursor(QCursor(Qt.WaitCursor))
|
QApplication.setOverrideCursor(QCursor(Qt.WaitCursor))
|
||||||
QSyntaxHighlighter.rehighlight(self)
|
QSyntaxHighlighter.rehighlight(self)
|
||||||
QApplication.restoreOverrideCursor()
|
QApplication.restoreOverrideCursor()
|
||||||
|
Loading…
x
Reference in New Issue
Block a user