mirror of
https://github.com/doublecmd/doublecmd.git
synced 2026-06-21 09:58:13 +00:00
FIX: Enable Add hotkey button when there are no hotkeys.
This commit is contained in:
parent
ae89d8ace7
commit
59f4134e1e
1 changed files with 1 additions and 1 deletions
|
|
@ -265,6 +265,7 @@ begin
|
|||
begin
|
||||
sCommand := stgCommands.Cells[stgCmdCommandIndex, aRow];
|
||||
FillHotkeyList(sCommand);
|
||||
btnAddHotKey.Enabled := True;
|
||||
end;
|
||||
end;
|
||||
|
||||
|
|
@ -283,7 +284,6 @@ var
|
|||
aEnabled: Boolean;
|
||||
begin
|
||||
aEnabled := aRow >= stgHotkeys.FixedRows;
|
||||
btnAddHotKey.Enabled := aEnabled;
|
||||
btnDeleteHotKey.Enabled := aEnabled;
|
||||
btnEditHotkey.Enabled := aEnabled;
|
||||
end;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue