Add logging to handle_partial_key

This commit is contained in:
Florian Bruhin 2014-05-06 17:02:44 +02:00
parent 764c37c8d6
commit e2ded2e0ad

View File

@ -405,6 +405,7 @@ class HintManager(QObject):
def handle_partial_key(self, keystr):
"""Handle a new partial keypress."""
logging.debug("Handling new keystring: '{}'".format(keystr))
for (string, elems) in self._elems.items():
if string.startswith(keystr):
matched = string[:len(keystr)]