IDE: Do not clear messages before showing "Clean up and build project" dialog. Issue #41047, patch by n7800.

This commit is contained in:
Juha 2024-08-01 09:17:30 +03:00
parent 3ffc1f862f
commit 2fea4c39a2

View File

@ -4644,9 +4644,8 @@ end;
procedure TMainIDE.mnuCleanUpAndBuildProjectClicked(Sender: TObject);
begin
if PrepareForCompileWithMsg<>mrOk then exit;
if ShowBuildProjectDialog(Project1)<>mrOk then exit;
DoBuildProject(crBuild,[]);
if ShowBuildProjectDialog(Project1) = mrOk then
DoBuildProject(crBuild, []);
end;
procedure TMainIDE.mnuBuildManyModesClicked(Sender: TObject);