mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-09 14:16:22 +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;
|
destructor TMenuDesigner.Destroy;
|
||||||
begin
|
begin
|
||||||
FreeAndNil(FGui);
|
FreeAndNil(FGui);
|
||||||
if (GlobalDesignHook <> nil) then
|
|
||||||
GlobalDesignHook.RemoveAllHandlersForObject(Self);
|
|
||||||
inherited Destroy;
|
inherited Destroy;
|
||||||
end;
|
end;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user