diff --git a/src/ce_main.pas b/src/ce_main.pas index 17a84063..cd6f7128 100644 --- a/src/ce_main.pas +++ b/src/ce_main.pas @@ -1426,7 +1426,7 @@ end; procedure TCEMainForm.actFileAddToProjExecute(Sender: TObject); begin if fDoc = nil then exit; - if fDoc.isProjectSource then exit; // TODO: rename this ambiguous property name to 'isProjectFile' + if fDoc.isProjectFile then exit; if fProjectInterface = nil then exit; // if fProjectInterface.getFormat = pfNative then diff --git a/src/ce_synmemo.pas b/src/ce_synmemo.pas index 2df1bfaf..4fbd78e7 100644 --- a/src/ce_synmemo.pas +++ b/src/ce_synmemo.pas @@ -159,7 +159,7 @@ type // property syncroEdit: TSynPluginSyncroEdit read fSyncEdit; property isDSource: boolean read fIsDSource; - property isProjectSource: boolean read fIsConfig; + property isProjectFile: boolean read fIsConfig; // warning: never set ! property isTemporary: boolean read getIfTemp; property TextView; //