Skip to content
Browse files
QtWebEngine: Don't raise CommandError with no hint
  • Loading branch information
The-Compiler committed Aug 18, 2016
1 parent 0b9aec8 commit 2a0e503644e73336f9e3f37ee4c9d462b150fbb0
Showing with 2 additions and 1 deletion.
  1. +2 −1 qutebrowser/browser/
@@ -567,7 +567,8 @@ def _start_cb(self, elems):
filterfunc = webelem.FILTERS.get(, lambda e: True)
elems = [e for e in elems if filterfunc(e)]
if not elems:
raise cmdexc.CommandError("No elements found.")
message.error(self._win_id, "No elements found.", immediately=True)
strings = self._hint_strings(elems)
log.hints.debug("hints: {}".format(', '.join(strings)))

0 comments on commit 2a0e503

Please sign in to comment.