mirror of https://gitlab.com/basile.b/dexed.git
fixup for 8b880edddf
This commit is contained in:
parent
750a8761b9
commit
f3c15fff00
|
@ -198,6 +198,8 @@ end;
|
||||||
|
|
||||||
procedure TCEEditorWidget.docFocused(aDoc: TCESynMemo);
|
procedure TCEEditorWidget.docFocused(aDoc: TCESynMemo);
|
||||||
begin
|
begin
|
||||||
|
if pageControl.currentPage.Caption = '<new document>' then
|
||||||
|
updatePageCaption;
|
||||||
if aDoc = fDoc then exit;
|
if aDoc = fDoc then exit;
|
||||||
fDoc := aDoc;
|
fDoc := aDoc;
|
||||||
focusedEditorChanged;
|
focusedEditorChanged;
|
||||||
|
@ -206,7 +208,8 @@ end;
|
||||||
|
|
||||||
procedure TCEEditorWidget.docChanged(aDoc: TCESynMemo);
|
procedure TCEEditorWidget.docChanged(aDoc: TCESynMemo);
|
||||||
begin
|
begin
|
||||||
if fDoc <> aDoc then exit;
|
if fDoc <> aDoc then
|
||||||
|
exit;
|
||||||
fKeyChanged := true;
|
fKeyChanged := true;
|
||||||
beginDelayedUpdate;
|
beginDelayedUpdate;
|
||||||
end;
|
end;
|
||||||
|
|
Loading…
Reference in New Issue