Merge branch 'lahwaacz-#1657'

This commit is contained in:
Florian Bruhin 2016-07-18 14:31:20 +02:00
commit ea8e1f1131
2 changed files with 11 additions and 0 deletions

View File

@ -201,6 +201,7 @@ class HintManager(QObject):
window=self._win_id)
message_bridge.maybe_reset_text(text)
self._context = None
self._filterstr = None
def _hint_strings(self, elems):
"""Calculate the hint strings for elems.

View File

@ -238,3 +238,13 @@ Feature: Using hints
And I press the key "2"
And I wait for "Leaving mode KeyMode.hint (reason: all filtered)" in the log
Then no crash should happen
# https://github.com/The-Compiler/qutebrowser/issues/1657
Scenario: Using rapid number hinting twice
When I open data/hints/number.html
And I set hints -> mode to number
And I run :hint --rapid
And I run :leave-mode
And I run :hint --rapid
And I run :follow-hint 00
Then data/numbers/1.txt should be loaded