From f18b5aa78298734421984df274b632d8820951f6 Mon Sep 17 00:00:00 2001 From: Florian Bruhin Date: Tue, 27 Feb 2018 09:23:06 +0100 Subject: [PATCH] Fix searching for blacklisted keys in keyhintwidget --- qutebrowser/misc/keyhintwidget.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/qutebrowser/misc/keyhintwidget.py b/qutebrowser/misc/keyhintwidget.py index b9985dbd0..35d453557 100644 --- a/qutebrowser/misc/keyhintwidget.py +++ b/qutebrowser/misc/keyhintwidget.py @@ -108,7 +108,7 @@ class KeyHintView(QLabel): bindings_dict = config.key_instance.get_bindings_for(modename) bindings = [(k, v) for (k, v) in sorted(bindings_dict.items()) if keyutils.KeySequence.parse(prefix).matches(k) and - not blacklisted(k) and + not blacklisted(str(k)) and (takes_count(v) or not countstr)] if not bindings: