mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-23 09:39:30 +02:00
Education package: Fix compilation after cbc97e5a03
.
(cherry picked from commit b1e6affa83
)
This commit is contained in:
parent
cdb3eee512
commit
8d8ee178c7
@ -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