From 9a1f846c6fbf11186200c3c74fa78ca79aad9ddf Mon Sep 17 00:00:00 2001 From: "Veronica K. B. Olsen" <1619840+vkbo@users.noreply.github.com> Date: Mon, 4 May 2020 17:59:00 +0200 Subject: [PATCH] Render the document title path separator as HTML --- nw/gui/elements/doctitlebar.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/nw/gui/elements/doctitlebar.py b/nw/gui/elements/doctitlebar.py index 7ecfc417..d19db972 100644 --- a/nw/gui/elements/doctitlebar.py +++ b/nw/gui/elements/doctitlebar.py @@ -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)