Skip to content

Commit

Permalink
Clear search text before closing QtWebEngine tab
Browse files Browse the repository at this point in the history
  • Loading branch information
The-Compiler committed Feb 1, 2017
1 parent 90f472b commit bb46c01
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions qutebrowser/browser/webengine/webenginetab.py
Expand Up @@ -553,6 +553,9 @@ def run_js_async(self, code, callback=None, *, world=None):

def shutdown(self):
self.shutting_down.emit()
# WORKAROUND for
# https://bugreports.qt.io/browse/QTBUG-58563
self.search.clear()
self._widget.shutdown()

def reload(self, *, force=False):
Expand Down

0 comments on commit bb46c01

Please sign in to comment.