mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-18 23:19:12 +02:00
IDE: changed class of "Select profiles to build" dialog from TGenericCheckListForm to TLazarusBuildManyDialog. The former type corresponds to generic dialog and poses potential risk of name clashing when storing layout. Patch by n7800.
This commit is contained in:
parent
3256ff9246
commit
1e7d5e9eeb
@ -206,6 +206,12 @@ type
|
||||
property ProfileChanged: boolean read fProfileChanged write fProfileChanged;
|
||||
end;
|
||||
|
||||
{ TLazarusBuildManyDialog }
|
||||
|
||||
TLazarusBuildManyDialog = class(TGenericCheckListForm)
|
||||
// nothing, just ApplyLayout() requires a specific class name
|
||||
end;
|
||||
|
||||
function GetMakeIDEConfigFilename: string;
|
||||
function GetBackupExeFilename(Filename: string): string;
|
||||
|
||||
@ -1456,12 +1462,12 @@ procedure TConfigureBuildLazarusDlg.CompileAdvancedButtonClick(Sender: TObject);
|
||||
// mrYes=save and compile
|
||||
// mrCancel=do nothing
|
||||
var
|
||||
EditForm: TGenericCheckListForm;
|
||||
EditForm: TLazarusBuildManyDialog;
|
||||
i, ind: Integer;
|
||||
begin
|
||||
PrepareClose;
|
||||
// Add a button for building all.
|
||||
EditForm:=TGenericCheckListForm.CreateWithActionButton(lisBuild, 'menu_build');
|
||||
EditForm:=TLazarusBuildManyDialog.CreateWithActionButton(lisBuild, 'menu_build');
|
||||
try
|
||||
EditForm.Caption:=lisLazBuildSelectProfilesToBuild;
|
||||
// Copy profile names to checkboxlist and check the previously selected ones.
|
||||
|
Loading…
Reference in New Issue
Block a user