From cc2b08544394a91f2392b663eee8493a80e5dd1f Mon Sep 17 00:00:00 2001 From: Florian Bruhin Date: Sat, 4 Feb 2017 23:45:00 +0100 Subject: [PATCH] Uppercase word-hints with hints -> uppercase Fixes #2278 --- CHANGELOG.asciidoc | 1 + qutebrowser/browser/hints.py | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.asciidoc b/CHANGELOG.asciidoc index b8b8bdb6f..479b010f5 100644 --- a/CHANGELOG.asciidoc +++ b/CHANGELOG.asciidoc @@ -43,6 +43,7 @@ Fixed - Fixed PAC (proxy autoconfig) not working with QtWebKit - `:download --mhtml` now uses the new file dialog - Insert mode now gets entered correctly with a non-100% zoom +- Word hints are now upper-cased correctly when hints -> uppercase is true v0.9.1 ------ diff --git a/qutebrowser/browser/hints.py b/qutebrowser/browser/hints.py index ece6ed89e..cb638d4c9 100644 --- a/qutebrowser/browser/hints.py +++ b/qutebrowser/browser/hints.py @@ -101,7 +101,7 @@ class HintLabel(QLabel): unmatched: The part of the text which was not typed yet. """ if (config.get('hints', 'uppercase') and - self._context.hint_mode == 'letter'): + self._context.hint_mode in ['letter', 'word']): matched = html.escape(matched.upper()) unmatched = html.escape(unmatched.upper()) else: