Tue, 28 Dec 2021 15:44:52 +0100
Fixed an issue clearing the search for the QWebEngine based help viewer implementation.
eric7/EricWidgets/EricTextEditSearchWidget.py | file | annotate | diff | comparison | revisions |
--- a/eric7/EricWidgets/EricTextEditSearchWidget.py Tue Dec 28 15:44:04 2021 +0100 +++ b/eric7/EricWidgets/EricTextEditSearchWidget.py Tue Dec 28 15:44:52 2021 +0100 @@ -259,6 +259,8 @@ """ if self.__textedit: self.__textedit.setFocus(Qt.FocusReason.ActiveWindowFocusReason) + if self.__texteditType == EricTextEditType.QWEBENGINEVIEW: + self.__textedit.findText("") if self.closeButton is not None: self.hide() self.closePressed.emit()