mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-04-19 23:49:36 +02:00
IDE: show HourGlass cursor while checking compiler options.
git-svn-id: trunk@42051 -
This commit is contained in:
parent
77a5f2b03c
commit
2d08d52520
@ -141,8 +141,7 @@ implementation
|
||||
|
||||
{$R *.lfm}
|
||||
|
||||
procedure FindSpecialCharsInPath(const Path: string; out
|
||||
HasChars: TCCOSpecialChars);
|
||||
procedure FindSpecialCharsInPath(const Path: string; out HasChars: TCCOSpecialChars);
|
||||
var
|
||||
i: Integer;
|
||||
begin
|
||||
@ -182,8 +181,7 @@ end;
|
||||
|
||||
{ TCheckCompilerOptsDlg }
|
||||
|
||||
procedure TCheckCompilerOptsDlg.ApplicationOnIdle(Sender: TObject;
|
||||
var Done: Boolean);
|
||||
procedure TCheckCompilerOptsDlg.ApplicationOnIdle(Sender: TObject; var Done: Boolean);
|
||||
begin
|
||||
IdleConnected:=false;
|
||||
DoTestAll;
|
||||
@ -856,6 +854,7 @@ begin
|
||||
CompilerFiles:=nil;
|
||||
Target_PPUs:=nil;
|
||||
FPC_PPUs:=nil;
|
||||
Screen.Cursor:=crHourGlass;
|
||||
try
|
||||
// do not confuse the user with cached data
|
||||
InvalidateFileStateCache();
|
||||
@ -953,6 +952,7 @@ begin
|
||||
AddMsg(lisCCOTestsSuccess,'',-1);
|
||||
|
||||
finally
|
||||
Screen.Cursor:=crDefault;
|
||||
CompilerFiles.Free;
|
||||
CompileTool.Free;
|
||||
FTest:=cotNone;
|
||||
|
Loading…
Reference in New Issue
Block a user