mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-11-25 13:37:21 +01:00
project groups: run Pascal file without opening in source editor
git-svn-id: trunk@50445 -
This commit is contained in:
parent
d6b6f6739e
commit
be79f48411
@ -1418,9 +1418,7 @@ begin
|
||||
taRun:
|
||||
begin
|
||||
if not CheckIDEIsReadyForBuild then exit;
|
||||
if LazarusIDE.DoOpenEditorFile(Filename,-1,-1,[ofAddToRecent,ofRegularFile])<>mrOK then
|
||||
exit;
|
||||
if LazarusIDE.DoRunFile<>mrOK then
|
||||
if LazarusIDE.DoRunFile(Filename)<>mrOK then
|
||||
exit;
|
||||
Result:=arOK;
|
||||
end;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user