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
self._show_elem(elem.label)
else:
# element doesn't match anymore -> hide it
self._hide_elem(elem.label)
# element doesn't match anymore -> hide it, unless in rapid
# hinting mode (see #1799)
if not self._context.rapid:
self._hide_elem(elem.label)
except webelem.Error:
pass