Remove the return false on error in doc viewer

This commit is contained in:
Veronica K. B. Olsen committed 2021-04-25 23:58:11 +02:00
1 parent 88d198403e
commit 6b119cf4b8
1 file changed
-1
-1
View File
@@ -185,7 +185,6 @@ class GuiDocViewer(QTextBrowser):
logger.error("Failed to generate preview for document with handle '%s'" % tHandle)
nw.logException()
self.setText(self.tr("An error occurred while generating the preview."))
return False
# Refresh the tab stops
if self.mainConf.verQtValue >= 51000: