mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-12 11:16:09 +02:00
IDE: close compile progress on restart
git-svn-id: trunk@36308 -
This commit is contained in:
parent
0d5fbc6330
commit
453ccf4100
@ -12272,7 +12272,7 @@ const
|
||||
end;
|
||||
//DebugLn('Setting CommandLine');
|
||||
CmdLine := ExeName +
|
||||
' --lazarus-pid='+IntToStr(GetProcessID) + ' ' +
|
||||
' --lazarus-pid='+IntToStr(GetProcessID) + ' '+
|
||||
GetCommandLineParameters(Params, False);
|
||||
|
||||
DebugLn('CommandLine 1 : %s', [CmdLine]);
|
||||
@ -12293,6 +12293,7 @@ const
|
||||
var CanClose: boolean;
|
||||
begin
|
||||
DebugLn(['TMainIDE.DoRestart ']);
|
||||
CompileProgress.Close;
|
||||
CanClose:=true;
|
||||
MainIDEBar.OnCloseQuery(Self, CanClose);
|
||||
if not CanClose then exit;
|
||||
@ -12581,7 +12582,6 @@ begin
|
||||
and (BuildLazProfiles.Current.TargetDirectory='')
|
||||
and MainBuildBoss.BuildTargetIDEIsDefault
|
||||
then begin
|
||||
CompileProgress.Close;
|
||||
mnuRestartClicked(nil);
|
||||
end
|
||||
end
|
||||
|
Loading…
Reference in New Issue
Block a user