On Mon, Feb 4, 2019 at 11:25 PM Bart <[email protected]> wrote:

Sorry, not this one:

> function TLazarusBuilder.SaveIDEMakeOptions(Profile: TBuildLazarusProfile;
>   Flags: TBuildLazarusFlags): TModalResult;

but this one (in ide/project.pp):

function TProject.SaveStateFile(const CompilerFilename, CompilerParams: string;
  Complete: boolean): TModalResult;
...
  except
    on E: Exception do begin
      Result:=IDEMessageDialog(lisPkgMangErrorWritingFile,
        Format(lisProjMangUnableToWriteStateFileForProjectError,
               [IDAsString, LineEnding, E.Message]),
        mtError,[mbAbort,mbCancel]); <<== here
      exit;
    end;
  end;
  Result:=mrOk;
end;

-- 
Bart
-- 
_______________________________________________
lazarus mailing list
[email protected]
https://lists.lazarus-ide.org/listinfo/lazarus

Reply via email to