[PATCH] find/replace dialog erase selection once closed
Submitted by Raphael Slinckx
Link to original bug (#312706)
Description
Please describe the problem:
Steps to reproduce:
- highlight a text
- ctrl-f
- The entry grabs the focus, and gets highlighted, thus erasing the buffer's selection
- close the find dialog
Actual results: The buffer has no more selection
Expected results: The buffer should keep original selection
Does this happen every time? Yes
Other information: The provided patch restores the selection after showing the find dialog. The entry isn't highlighted anymore, but it has the focus at end of text.
Version: git master