mirror of
https://github.com/HeidiSQL/HeidiSQL.git
synced 2026-03-13 09:24:25 +08:00
fix: tree with keyboard actions shows wrong captions
This commit is contained in:
@@ -2069,6 +2069,8 @@ begin
|
||||
FActionList1DefaultCaptions := TStringList.Create;
|
||||
FActionList1DefaultHints := TStringList.Create;
|
||||
for i:=0 to ActionList1.ActionCount-1 do begin
|
||||
Action := TAction(ActionList1.Actions[i]);
|
||||
Action.ShortCut := AppSettings.ReadInt(asActionShortcut1, Action.Name, Action.ShortCut);
|
||||
FActionList1DefaultCaptions.Insert(i, Action.Caption);
|
||||
FActionList1DefaultHints.Insert(i, Action.Hint);
|
||||
end;
|
||||
|
||||
@@ -1244,6 +1244,7 @@ begin
|
||||
end;
|
||||
end;
|
||||
|
||||
|
||||
procedure TfrmPreferences.TreeShortcutItemsInitNode(Sender: TBaseVirtualTree; ParentNode, Node: PVirtualNode;
|
||||
var InitialStates: TVirtualNodeInitStates);
|
||||
var
|
||||
|
||||
Reference in New Issue
Block a user