diff --git a/src/ce_main.pas b/src/ce_main.pas index 6670dce8..1d0d2f41 100644 --- a/src/ce_main.pas +++ b/src/ce_main.pas @@ -2477,7 +2477,11 @@ end; procedure TCEMainForm.actProjCompAndRunWithArgsExecute(Sender: TObject); begin + fRunProjAfterCompile := true; fRunProjAfterCompArg := true; + if fAppliOpts.autoSaveProjectFiles then + saveModifiedProjectFiles(fProject); + fProject.compile; end; procedure TCEMainForm.actProjRunExecute(Sender: TObject);