Resolve issue #1073

This commit is contained in:
Veronica Berglyd Olsen
2022-06-15 17:05:48 +02:00
parent 203e353e92
commit 7d7c2dba26
+2
View File
@@ -659,6 +659,7 @@ class GuiBuildNovel(QDialog):
fmtUnnumbered = self.fmtUnnumbered.text() fmtUnnumbered = self.fmtUnnumbered.text()
fmtScene = self.fmtScene.text() fmtScene = self.fmtScene.text()
fmtSection = self.fmtSection.text() fmtSection = self.fmtSection.text()
buildLang = self.buildLang.currentData()
hideScene = self.hideScene.isChecked() hideScene = self.hideScene.isChecked()
hideSection = self.hideSection.isChecked() hideSection = self.hideSection.isChecked()
textFont = self.textFont.text() textFont = self.textFont.text()
@@ -706,6 +707,7 @@ class GuiBuildNovel(QDialog):
if isOdt: if isOdt:
bldObj.setColourHeaders(not noStyling) bldObj.setColourHeaders(not noStyling)
bldObj.setLanguage(buildLang)
bldObj.initDocument() bldObj.initDocument()
# Make sure the project and document is up to date # Make sure the project and document is up to date