mirror of https://gitlab.com/basile.b/dexed.git
fix, temp, hang when applying the new shortcuts
This commit is contained in:
parent
9cfad0014e
commit
6e54c83473
|
@ -386,7 +386,7 @@ begin
|
||||||
end;
|
end;
|
||||||
{$ENDREGION}
|
{$ENDREGION}
|
||||||
|
|
||||||
{$REGION ICEMultiDocObserver ----------------------------------------------------}
|
{$REGION ICEMultiDocObserver ---------------------------------------------------}
|
||||||
procedure TCEEditorOptions.docNew(aDoc: TCESynMemo);
|
procedure TCEEditorOptions.docNew(aDoc: TCESynMemo);
|
||||||
begin
|
begin
|
||||||
applyChangeToEditor(aDoc);
|
applyChangeToEditor(aDoc);
|
||||||
|
@ -451,6 +451,10 @@ begin
|
||||||
end;
|
end;
|
||||||
// note: shortcut modifications are not reversible,
|
// note: shortcut modifications are not reversible,
|
||||||
// they are sent from another option editor.
|
// they are sent from another option editor.
|
||||||
|
fShortcutCount -= 1;
|
||||||
|
// TODO: modifies interface so that the target knows when the last
|
||||||
|
// item has been sent.
|
||||||
|
if fShortcutCount = 0 then
|
||||||
applyChangesFromSelf;
|
applyChangesFromSelf;
|
||||||
end;
|
end;
|
||||||
{$ENDREGION}
|
{$ENDREGION}
|
||||||
|
|
Loading…
Reference in New Issue