hints: Log the used hint chars

Useful for debugging and for end2end tests.
This commit is contained in:
Florian Bruhin 2016-02-18 07:34:51 +01:00
parent 9a02dc174d
commit 9b1db7ec0b

View File

@ -677,6 +677,7 @@ class HintManager(QObject):
if not elems:
raise cmdexc.CommandError("No elements found.")
hints = self._hint_strings(elems)
log.hints.debug("hints: {}".format(', '.join(hints)))
for e, hint in zip(elems, hints):
label = self._draw_label(e, hint)
self._context.elems[hint] = ElemTuple(e, label)