Render the document title path separator as HTML

This commit is contained in:
Veronica K. B. Olsen
2020-05-04 17:59:00 +02:00
parent e2b9e01c44
commit 9a1f846c6f
+2 -1
View File
@@ -58,6 +58,7 @@ class GuiDocTitleBar(QLabel):
self.setWordWrap(True)
self.setFrameShape(QFrame.NoFrame)
self.setLineWidth(0)
self.setTextFormat(Qt.RichText)
lblPalette = self.palette()
lblPalette.setColor(QPalette.Window, QColor(*self.theTheme.colBack))
lblPalette.setColor(QPalette.Text, QColor(*self.theTheme.colText))
@@ -92,7 +93,7 @@ class GuiDocTitleBar(QLabel):
nwItem = self.theProject.getItem(aHandle)
if nwItem is not None:
tTitle.append(nwItem.itemName)
sSep = " %s " % nwUnicode.U_RTRI
sSep = " %s " % nwUnicode.H_RTRIS
self.setText(sSep.join(tTitle))
else:
nwItem = self.theProject.getItem(tHandle)