mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-09-12 19:41:08 +02:00
disabled test button during run
git-svn-id: trunk@6576 -
This commit is contained in:
parent
d7a61074f1
commit
407a9f452a
@ -450,7 +450,14 @@ procedure TfrmCompilerOptions.ButtonCheckClicked(Sender: TObject);
|
|||||||
begin
|
begin
|
||||||
// Apply any changes and test
|
// Apply any changes and test
|
||||||
PutCompilerOptions;
|
PutCompilerOptions;
|
||||||
if Assigned(OnTest) then OnTest(CompilerOpts);
|
if Assigned(OnTest) then begin
|
||||||
|
btnCheck.Enabled:=false;
|
||||||
|
try
|
||||||
|
OnTest(CompilerOpts);
|
||||||
|
finally
|
||||||
|
btnCheck.Enabled:=true;
|
||||||
|
end;
|
||||||
|
end;
|
||||||
end;
|
end;
|
||||||
|
|
||||||
{------------------------------------------------------------------------------
|
{------------------------------------------------------------------------------
|
||||||
|
Loading…
Reference in New Issue
Block a user