Make preview mode in HTML build also usable by Manuscript tool

This commit is contained in:
Veronica Berglyd Olsen
2024-03-20 19:37:55 +01:00
parent ace1df7336
commit bcadc40998
4 changed files with 11 additions and 24 deletions
+4 -1
View File
@@ -197,7 +197,10 @@ class GuiDocViewer(QTextBrowser):
sPos = self.verticalScrollBar().value()
aDoc = ToHtml(SHARED.project)
aDoc.setPreview(CONFIG.viewComments, CONFIG.viewSynopsis)
aDoc.setPreview(True)
aDoc.setKeywords(True)
aDoc.setComments(CONFIG.viewComments)
aDoc.setSynopsis(CONFIG.viewSynopsis)
aDoc.setLinkHeadings(True)
# Be extra careful here to prevent crashes when first opening a