diff --git a/src/ce_editor.pas b/src/ce_editor.pas index 387ea8f4..3a964da3 100644 --- a/src/ce_editor.pas +++ b/src/ce_editor.pas @@ -365,7 +365,8 @@ begin fDoc := TCESynMemo(page.Controls[0]); if fDoc.fileName <> fname then openDocument(fname); - end; + end + else openDocument(fname); end; if srcpos <> -1 then begin