Merge branch 'dev' into project_settings_settings

This commit is contained in:
Veronica K. Berglyd Olsen
2020-06-19 23:19:47 +02:00
committed by GitHub
2 changed files with 22 additions and 10 deletions
+2
View File
@@ -529,6 +529,8 @@ class GuiDocViewHeader(QWidget):
def _refreshDocument(self):
"""Reload the content of the document.
"""
if self.docViewer.theHandle == self.theParent.docEditor.theHandle:
self.theParent.saveDocument()
self.docViewer.reloadText()
return