Make sure the open document is saved before applying changes from the config dialog
This commit is contained in:
@@ -502,6 +502,7 @@ class GuiMain(QMainWindow):
|
|||||||
logger.debug("Applying new preferences")
|
logger.debug("Applying new preferences")
|
||||||
self.initMain()
|
self.initMain()
|
||||||
self.theTheme.updateTheme()
|
self.theTheme.updateTheme()
|
||||||
|
self.saveDocument()
|
||||||
self.docEditor.initEditor()
|
self.docEditor.initEditor()
|
||||||
self.docViewer.initViewer()
|
self.docViewer.initViewer()
|
||||||
return True
|
return True
|
||||||
|
|||||||
Reference in New Issue
Block a user