mirror of
https://github.com/doublecmd/doublecmd.git
synced 2026-06-21 09:58:13 +00:00
ADD: Clear selection when cannot find text (issue 0001714)
This commit is contained in:
parent
d30c14cbe8
commit
09a518ee7b
1 changed files with 3 additions and 0 deletions
|
|
@ -2090,6 +2090,9 @@ begin
|
|||
else
|
||||
begin
|
||||
msgOK(Format(rsViewNotFound, ['"' + sSearchTextU + '"']));
|
||||
if (ViewerControl.Selection <> sSearchTextU) then begin
|
||||
ViewerControl.SelectText(0, 0);
|
||||
end;
|
||||
FLastSearchPos := -1;
|
||||
end;
|
||||
end;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue