mirror of https://gitlab.com/basile.b/dexed.git
fix, when shortcut edited in widget options were not updated
This commit is contained in:
parent
b1a5ec229f
commit
e7420ebf98
|
@ -298,7 +298,7 @@ begin
|
||||||
end;
|
end;
|
||||||
{$ENDREGION}
|
{$ENDREGION}
|
||||||
|
|
||||||
{$REGION Macros things ---------------------------------------------------------}
|
{$REGION ICEEditableShortCut ---------------------------------------------------}
|
||||||
function TCEStaticEditorMacro.scedWantFirst: boolean;
|
function TCEStaticEditorMacro.scedWantFirst: boolean;
|
||||||
begin
|
begin
|
||||||
exit(true);
|
exit(true);
|
||||||
|
@ -315,8 +315,11 @@ end;
|
||||||
procedure TCEStaticEditorMacro.scedSendItem(const category, identifier: string; aShortcut: TShortcut);
|
procedure TCEStaticEditorMacro.scedSendItem(const category, identifier: string; aShortcut: TShortcut);
|
||||||
begin
|
begin
|
||||||
if category = 'Static macros' then
|
if category = 'Static macros' then
|
||||||
if identifier = 'invoke' then
|
if identifier = 'invoke' then begin
|
||||||
fCompletor.ShortCut := aShortcut;
|
fCompletor.ShortCut := aShortcut;
|
||||||
|
fOptionBackup.shortcut := aShortcut;
|
||||||
|
fOptions.shortcut := aShortcut;
|
||||||
|
end;
|
||||||
end;
|
end;
|
||||||
{$ENDREGION}
|
{$ENDREGION}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue