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