Commit 5b219fc2 authored by Alexandru Croitor's avatar Alexandru Croitor Committed by Alexandru Croitor
Browse files

Clear internal selected text when searching


Previously if a selection was made on a web page, and afterwards a find
operation is executed, the selection in the web page would be cleared,
but the call to selectedText() would still return the old selection.

Make sure selectedText() is always cleared, when starting a find
operation, as well as when stopping one.

Change-Id: If78f0fa1dd836a52184015e749ef5a84b9f784cd
Task-number: QTBUG-54071
Reviewed-by: default avatarMichael Brüning <michael.bruning@qt.io>
Showing with 17 additions and 19 deletions
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment