mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-09-07 21:41:34 +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
|
||||
// Apply any changes and test
|
||||
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;
|
||||
|
||||
{------------------------------------------------------------------------------
|
||||
|
Loading…
Reference in New Issue
Block a user