suppress hiding hints in rapid mode

fixes #1799
This commit is contained in:
Jakub Klinkovský 2016-08-08 18:41:25 +02:00
parent 58fb41ab9d
commit 1819b46fe0

View File

@ -764,8 +764,10 @@ class HintManager(QObject):
# hidden element which matches again -> show it # hidden element which matches again -> show it
self._show_elem(elem.label) self._show_elem(elem.label)
else: else:
# element doesn't match anymore -> hide it # element doesn't match anymore -> hide it, unless in rapid
self._hide_elem(elem.label) # hinting mode (see #1799)
if not self._context.rapid:
self._hide_elem(elem.label)
except webelem.Error: except webelem.Error:
pass pass