mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-11-25 21:07:24 +01:00
Education package: Fix compilation after cbc97e5a03.
This commit is contained in:
parent
63945a80e6
commit
b1e6affa83
@ -418,13 +418,13 @@ begin
|
|||||||
inherited Create;
|
inherited Create;
|
||||||
Name:='ComponentPalette';
|
Name:='ComponentPalette';
|
||||||
fVisible:=TStringToStringTree.Create(false);
|
fVisible:=TStringToStringTree.Create(false);
|
||||||
IDEComponentPalette.AddHandlerUpdateVisible(@VoteForVisible);
|
IDEComponentPalette.AddHandlerVoteVisibility(@VoteForVisible);
|
||||||
end;
|
end;
|
||||||
|
|
||||||
destructor TEduComponentPaletteOptions.Destroy;
|
destructor TEduComponentPaletteOptions.Destroy;
|
||||||
begin
|
begin
|
||||||
if IDEComponentPalette<>nil then
|
if IDEComponentPalette<>nil then
|
||||||
IDEComponentPalette.RemoveHandlerUpdateVisible(@VoteForVisible);
|
IDEComponentPalette.RemoveHandlerVoteVisibility(@VoteForVisible);
|
||||||
FreeAndNil(fVisible);
|
FreeAndNil(fVisible);
|
||||||
inherited Destroy;
|
inherited Destroy;
|
||||||
end;
|
end;
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user