From 6fc1d09a069f6928154276dd155b7ea8ab953790 Mon Sep 17 00:00:00 2001 From: "Veronica K. B. Olsen" <1619840+vkbo@users.noreply.github.com> Date: Sun, 31 May 2020 14:14:09 +0200 Subject: [PATCH] Remember to set correct font in build tool before loading previous content --- nw/gui/build.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/nw/gui/build.py b/nw/gui/build.py index 2616ff83..3c2e73da 100644 --- a/nw/gui/build.py +++ b/nw/gui/build.py @@ -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: