From 1148936af6106a3728fa4536d5e0b796096b6397 Mon Sep 17 00:00:00 2001 From: "Veronica K. B. Olsen" <1619840+vkbo@users.noreply.github.com> Date: Mon, 4 May 2020 20:31:00 +0200 Subject: [PATCH] Let's use a character that definitely exists for the document path --- nw/gui/elements/doctitlebar.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/nw/gui/elements/doctitlebar.py b/nw/gui/elements/doctitlebar.py index d19db972..e9772d84 100644 --- a/nw/gui/elements/doctitlebar.py +++ b/nw/gui/elements/doctitlebar.py @@ -58,7 +58,6 @@ 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)) @@ -93,7 +92,7 @@ class GuiDocTitleBar(QLabel): nwItem = self.theProject.getItem(aHandle) if nwItem is not None: tTitle.append(nwItem.itemName) - sSep = " %s " % nwUnicode.H_RTRIS + sSep = " %s " % nwUnicode.U_RSAQUO self.setText(sSep.join(tTitle)) else: nwItem = self.theProject.getItem(tHandle)