mirror of
https://github.com/doublecmd/doublecmd.git
synced 2026-06-21 09:58:13 +00:00
UPD: Enter key behavior in search result list box
This commit is contained in:
parent
f508e458ca
commit
e2f74ff291
1 changed files with 8 additions and 3 deletions
|
|
@ -4,7 +4,7 @@
|
|||
Find dialog, with searching in thread
|
||||
|
||||
Copyright (C) 2003-2004 Radek Cervinka (radek.cervinka@centrum.cz)
|
||||
Copyright (C) 2006-2010 Koblov Alexander (Alexx2000@mail.ru)
|
||||
Copyright (C) 2006-2012 Koblov Alexander (Alexx2000@mail.ru)
|
||||
|
||||
This program is free software; you can redistribute it and/or modify
|
||||
it under the terms of the GNU General Public License as published by
|
||||
|
|
@ -897,6 +897,8 @@ var
|
|||
NewPage: TFileViewPage;
|
||||
FileView: TFileView;
|
||||
begin
|
||||
StopSearch;
|
||||
|
||||
FileList := TFileTree.Create;
|
||||
for i := 0 to lsFoundedFiles.Items.Count - 1 do
|
||||
begin
|
||||
|
|
@ -1211,8 +1213,11 @@ begin
|
|||
|
||||
VK_RETURN:
|
||||
begin
|
||||
btnGoToPathClick(Sender);
|
||||
Key := 0;
|
||||
if not FSearchingActive then
|
||||
begin
|
||||
btnGoToPathClick(Sender);
|
||||
Key := 0;
|
||||
end;
|
||||
end;
|
||||
end;
|
||||
end;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue