mirror of
https://github.com/doublecmd/doublecmd.git
synced 2026-06-21 09:58:13 +00:00
FIX: Error Access Violation in "Directory Hotlist" (fixes #491)
(cherry picked from commit 710c2d6cc2)
This commit is contained in:
parent
e6e15e7e84
commit
d453644a48
1 changed files with 3 additions and 3 deletions
|
|
@ -1603,9 +1603,9 @@ begin
|
|||
end //if tvDirectoryHotlist.Selected<>nil then
|
||||
else
|
||||
begin
|
||||
btnAdd.Enabled := False;
|
||||
btnInsert.Enabled := False;
|
||||
btnMiscellaneous.Enabled := False;
|
||||
btnAdd.Enabled := (tvDirectoryHotlist.Items.Count = 0);
|
||||
btnInsert.Enabled := btnAdd.Enabled;
|
||||
btnMiscellaneous.Enabled := btnAdd.Enabled;
|
||||
|
||||
lbleditHotDirName.EditLabel.Caption := '';
|
||||
lbleditHotDirName.Text := '';
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue