Handle another webelem.IsNullError with hints.
This commit is contained in:
parent
e9786458fa
commit
aae33a0308
@ -752,8 +752,11 @@ class HintManager(QObject):
|
|||||||
pass
|
pass
|
||||||
visible = {}
|
visible = {}
|
||||||
for k, e in self._context.elems.items():
|
for k, e in self._context.elems.items():
|
||||||
|
try:
|
||||||
if not self._is_hidden(e.label):
|
if not self._is_hidden(e.label):
|
||||||
visible[k] = e
|
visible[k] = e
|
||||||
|
except webelem.IsNullError:
|
||||||
|
pass
|
||||||
if not visible:
|
if not visible:
|
||||||
# Whoops, filtered all hints
|
# Whoops, filtered all hints
|
||||||
modeman.leave(self._win_id, usertypes.KeyMode.hint, 'all filtered')
|
modeman.leave(self._win_id, usertypes.KeyMode.hint, 'all filtered')
|
||||||
|
Loading…
Reference in New Issue
Block a user