Reset search on new search

This commit is contained in:
Florian Bruhin 2014-01-30 11:53:58 +01:00
parent 53861306ff
commit 7a2a7ab709

View File

@ -56,6 +56,8 @@ class SearchParser(QObject):
text -- The text to search for.
rev -- Search direction.
"""
if self.text != text:
self.do_search.emit('', 0)
self.text = text
if rev:
self.flags = QWebPage.FindBackward