Clear search text before closing QtWebEngine tab

See https://bugreports.qt.io/browse/QTBUG-58563 and #2261
This commit is contained in:
Florian Bruhin 2017-02-01 09:30:53 +01:00
parent 90f472bf59
commit bb46c01c50

View File

@ -553,6 +553,9 @@ class WebEngineTab(browsertab.AbstractTab):
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):