fix, when shortcut edited in widget options were not updated

This commit is contained in:
Basile Burg 2015-05-03 09:18:40 +02:00
parent b1a5ec229f
commit e7420ebf98
1 changed files with 5 additions and 2 deletions

View File

@ -298,7 +298,7 @@ begin
end;
{$ENDREGION}
{$REGION Macros things ---------------------------------------------------------}
{$REGION ICEEditableShortCut ---------------------------------------------------}
function TCEStaticEditorMacro.scedWantFirst: boolean;
begin
exit(true);
@ -315,8 +315,11 @@ end;
procedure TCEStaticEditorMacro.scedSendItem(const category, identifier: string; aShortcut: TShortcut);
begin
if category = 'Static macros' then
if identifier = 'invoke' then
if identifier = 'invoke' then begin
fCompletor.ShortCut := aShortcut;
fOptionBackup.shortcut := aShortcut;
fOptions.shortcut := aShortcut;
end;
end;
{$ENDREGION}