diff options
Diffstat (limited to 'qutebrowser/browser/hints.py')
-rw-r--r-- | qutebrowser/browser/hints.py | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/qutebrowser/browser/hints.py b/qutebrowser/browser/hints.py index 0e71f2373..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.. @@ -1000,7 +1002,7 @@ class HintManager(QObject): self._context.first_run = False @cmdutils.register(instance='hintmanager', scope='window', - modes=[usertypes.KeyMode.hint], deprecated_name='follow-hint') + modes=[usertypes.KeyMode.hint]) def hint_follow(self, select: bool = False, keystring: str = None) -> None: """Follow a hint. |