Set a default build doc header

This commit is contained in:
Veronica K. B. Olsen
2020-06-23 22:02:57 +02:00
parent ca04f31309
commit a1d7f8296f
+2 -2
View File
@@ -970,7 +970,7 @@ class GuiBuildNovelDocView(QTextBrowser):
fPx = int(1.1*self.theTheme.fontPixelSize) fPx = int(1.1*self.theTheme.fontPixelSize)
mPx = self.mainConf.pxInt(4) mPx = self.mainConf.pxInt(4)
self.theTitle = QLabel("", self) self.theTitle = QLabel("<b>Build Time:</b> Unknown", self)
self.theTitle.setIndent(0) self.theTitle.setIndent(0)
self.theTitle.setAutoFillBackground(True) self.theTitle.setAutoFillBackground(True)
self.theTitle.setAlignment(Qt.AlignCenter) self.theTitle.setAlignment(Qt.AlignCenter)
@@ -1062,7 +1062,7 @@ class GuiBuildNovelDocView(QTextBrowser):
## ##
def _updateBuildAge(self): def _updateBuildAge(self):
""" """Update the build time and the fuzzy age.
""" """
if self.buildTime > 0: if self.buildTime > 0:
strBuildTime = "%s (%s)" % ( strBuildTime = "%s (%s)" % (