Fix comments visibility (#2420)

This commit is contained in:
Veronica Berglyd Olsen
2025-06-19 20:27:36 +02:00
committed by GitHub
+2
View File
@@ -228,6 +228,8 @@ class GuiDocViewer(QTextBrowser):
qDoc.setTheme(self._docTheme)
qDoc.initDocument()
qDoc.setKeywords(True)
qDoc.setCommentType(nwComment.NOTE, CONFIG.viewComments)
qDoc.setCommentType(nwComment.STORY, CONFIG.viewComments)
qDoc.setCommentType(nwComment.PLAIN, CONFIG.viewComments)
qDoc.setCommentType(nwComment.SYNOPSIS, CONFIG.viewSynopsis)
qDoc.setCommentType(nwComment.SHORT, CONFIG.viewSynopsis)