hints: Log the used hint chars
Useful for debugging and for end2end tests.
This commit is contained in:
parent
9a02dc174d
commit
9b1db7ec0b
@ -677,6 +677,7 @@ class HintManager(QObject):
|
|||||||
if not elems:
|
if not elems:
|
||||||
raise cmdexc.CommandError("No elements found.")
|
raise cmdexc.CommandError("No elements found.")
|
||||||
hints = self._hint_strings(elems)
|
hints = self._hint_strings(elems)
|
||||||
|
log.hints.debug("hints: {}".format(', '.join(hints)))
|
||||||
for e, hint in zip(elems, hints):
|
for e, hint in zip(elems, hints):
|
||||||
label = self._draw_label(e, hint)
|
label = self._draw_label(e, hint)
|
||||||
self._context.elems[hint] = ElemTuple(e, label)
|
self._context.elems[hint] = ElemTuple(e, label)
|
||||||
|
Loading…
Reference in New Issue
Block a user