mirror of
https://github.com/doublecmd/doublecmd.git
synced 2026-06-21 09:58:13 +00:00
FIX: Clear search template description after deleting all templates (fixes #2437)
(cherry picked from commit e459a57623)
This commit is contained in:
parent
18bd640b80
commit
b83b18d720
1 changed files with 4 additions and 1 deletions
|
|
@ -952,7 +952,10 @@ begin
|
|||
if OldIndex < lbSearchTemplates.Count then
|
||||
lbSearchTemplates.ItemIndex := OldIndex
|
||||
else if lbSearchTemplates.Count > 0 then
|
||||
lbSearchTemplates.ItemIndex := lbSearchTemplates.Count - 1;
|
||||
lbSearchTemplates.ItemIndex := lbSearchTemplates.Count - 1
|
||||
else begin
|
||||
lblSearchContents.Caption := EmptyStr;
|
||||
end;
|
||||
end;
|
||||
|
||||
{ TfrmFindDlg.btnAttrsHelpClick }
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue