project groups: build Pascal file without opening in source editor

git-svn-id: trunk@50443 -
This commit is contained in:
mattias 2015-11-20 14:25:49 +00:00
parent ad07bf2767
commit bdf06f4530

View File

@ -1409,9 +1409,7 @@ begin
taCompileFromHere:
begin
if not CheckIDEIsReadyForBuild then exit;
if LazarusIDE.DoOpenEditorFile(Filename,-1,-1,[ofAddToRecent,ofRegularFile])<>mrOK then
exit;
if LazarusIDE.DoBuildFile(false)<>mrOK then
if LazarusIDE.DoBuildFile(false,Filename)<>mrOK then
exit;
Result:=arOK;
if AAction=taCompileFromHere then