parent
3c8e616eb9
commit
3879b8301f
@ -487,7 +487,7 @@ class WebView(QWebView):
|
|||||||
old_scroll_pos = self.scroll_pos
|
old_scroll_pos = self.scroll_pos
|
||||||
flags = QWebPage.FindFlags(flags)
|
flags = QWebPage.FindFlags(flags)
|
||||||
found = self.findText(text, flags)
|
found = self.findText(text, flags)
|
||||||
backward = int(flags) & QWebPage.FindBackward
|
backward = flags & QWebPage.FindBackward
|
||||||
|
|
||||||
if not found and not flags & QWebPage.HighlightAllOccurrences and text:
|
if not found and not flags & QWebPage.HighlightAllOccurrences and text:
|
||||||
# User disabled wrapping; but findText() just returns False. If we
|
# User disabled wrapping; but findText() just returns False. If we
|
||||||
|
Loading…
Reference in New Issue
Block a user