Remember to set correct font in build tool before loading previous content

This commit is contained in:
Veronica K. B. Olsen
2020-05-31 14:14:09 +02:00
parent ce19de31f5
commit 6fc1d09a06
+5
View File
@@ -385,6 +385,11 @@ class GuiBuildNovel(QDialog):
# Load from Cache
if self._loadCache():
textFont = self.textFont.text()
textSize = self.textSize.value()
justifyText = self.justifyText.isChecked()
self.docView.setTextFont(textFont, textSize)
self.docView.setJustify(justifyText)
self.docView.setStyleSheet(self.htmlStyle)
self.docView.setContent(self.htmlText)
else: