Fix editor refresh issues (#1573)
This commit is contained in:
@@ -359,6 +359,8 @@ class GuiDocEditor(QTextEdit):
|
||||
self.clearEditor()
|
||||
else:
|
||||
self.redrawText()
|
||||
if not self._bigDoc:
|
||||
self.highLight.rehighlight()
|
||||
|
||||
return True
|
||||
|
||||
|
||||
@@ -980,6 +980,7 @@ class GuiMain(QMainWindow):
|
||||
if dlgWords.result() == QDialog.Accepted:
|
||||
logger.debug("Reloading word list")
|
||||
SHARED.updateSpellCheckLanguage(reload=True)
|
||||
self.docEditor.spellCheckDocument()
|
||||
|
||||
return True
|
||||
|
||||
|
||||
Reference in New Issue
Block a user