Uppercase word-hints with hints -> uppercase

Fixes #2278
This commit is contained in:
Florian Bruhin 2017-02-04 23:45:00 +01:00
parent 021b3645cc
commit cc2b085443
2 changed files with 2 additions and 1 deletions

View File

@ -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
------

View File

@ -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: