diff --git a/components/education/educomppalette.pas b/components/education/educomppalette.pas index fdc16d278a..364a802572 100644 --- a/components/education/educomppalette.pas +++ b/components/education/educomppalette.pas @@ -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;