mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-04-05 23:58:06 +02:00
MenuEditor: Cleaning up. Remove unneeded GlobalDesignHook.RemoveHandler
git-svn-id: trunk@54961 -
This commit is contained in:
parent
3e154dc287
commit
e2665a6beb
@ -2628,8 +2628,6 @@ end;
|
||||
destructor TMenuDesigner.Destroy;
|
||||
begin
|
||||
FreeAndNil(FGui);
|
||||
if (GlobalDesignHook <> nil) then
|
||||
GlobalDesignHook.RemoveAllHandlersForObject(Self);
|
||||
inherited Destroy;
|
||||
end;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user