diff options
author | Florian Bruhin <me@the-compiler.org> | 2021-03-12 11:27:21 +0100 |
---|---|---|
committer | Florian Bruhin <me@the-compiler.org> | 2021-03-12 11:27:21 +0100 |
commit | 82d25e003fbb27d42197ec69d28a7948068f3062 (patch) | |
tree | cd9e21c53f1441fe481cf3c62979984fe4167c49 /qutebrowser | |
parent | f406183cfed62ce6311cc949fe06b7e7a479ec84 (diff) | |
download | qutebrowser-82d25e003fbb27d42197ec69d28a7948068f3062.tar.gz qutebrowser-82d25e003fbb27d42197ec69d28a7948068f3062.zip |
Set hint label text format explicitly
Fixes #6267
Diffstat (limited to 'qutebrowser')
-rw-r--r-- | qutebrowser/browser/hints.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/qutebrowser/browser/hints.py b/qutebrowser/browser/hints.py index dd008d9c5..333c532d3 100644 --- a/qutebrowser/browser/hints.py +++ b/qutebrowser/browser/hints.py @@ -92,6 +92,8 @@ class HintLabel(QLabel): self._context = context self.elem = elem + self.setTextFormat(Qt.RichText) + # Make sure we can style the background via a style sheet, and we don't # get any extra text indent from Qt. # The real stylesheet lives in mainwindow.py for performance reasons.. |