mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-31 22:20:24 +02:00
LazBuild: Do not require OnRegisterGroup to be assigned. Not needed by LazBuild.
This commit is contained in:
parent
e045ba01d2
commit
7287cd8a11
@ -281,9 +281,8 @@ implementation
|
||||
procedure RegisterOptionsGroup(AGroupIndex: Integer; AGroupClass: TAbstractIDEOptionsClass);
|
||||
// Like function RegisterIDEOptionsGroup in IDEOptEditorIntf (IdeIntf) but does not return anything.
|
||||
begin
|
||||
if OnRegisterGroup=Nil then
|
||||
raise Exception.Create('RegisterOptionsGroup: OnRegisterGroup=Nil');
|
||||
OnRegisterGroup(AGroupIndex, AGroupClass);
|
||||
if Assigned(OnRegisterGroup) then
|
||||
OnRegisterGroup(AGroupIndex, AGroupClass);
|
||||
end;
|
||||
|
||||
{ TIDEEnvironmentOptions }
|
||||
|
@ -37,8 +37,6 @@ uses
|
||||
LCLPlatformDef, Forms,
|
||||
// Codetools
|
||||
CodeCache, CodeToolManager, DefineTemplates, FileProcs,
|
||||
// IdeIntf
|
||||
IDEOptEditorIntf, // Initialize RegisterOptionsGroup event
|
||||
// BuildIntf
|
||||
BaseIDEIntf, MacroIntf, PackageIntf, LazMsgWorker, ProjectIntf, IDEExternToolIntf,
|
||||
CompOptsIntf, IDEOptionsIntf, PackageDependencyIntf,
|
||||
|
Loading…
Reference in New Issue
Block a user