IDE: fixed run abort

git-svn-id: trunk@45195 -
This commit is contained in:
mattias 2014-05-27 09:08:58 +00:00
parent 305b621aa8
commit 503ddc71ad
2 changed files with 5 additions and 0 deletions

View File

@ -34,6 +34,8 @@ const
SubToolDefault = 'External Tool';
SubToolDefaultPriority = 0;
AbortedExitCode = 12321;
type
TETShareStringEvent = procedure(var s: string) of object;

View File

@ -7286,7 +7286,10 @@ end;
function TMainIDE.DoAbortBuild: TModalResult;
begin
Result:=mrOk;
{$IFDEF EnableNewExtTools}
{$ELSE}
if ToolStatus<>itBuilder then exit;
{$ENDIF}
AbortBuild;
end;