mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-12-07 05:37:30 +01:00
cocoa: menu preventing double release (seen in lazarus ide)
git-svn-id: trunk@58585 -
This commit is contained in:
parent
55f7137e4e
commit
74719b3d1d
@ -542,7 +542,7 @@ begin
|
||||
parItem := TCocoaMenuItem(Item).parentItem;
|
||||
if assigned(parItem) and parItem.isKindOfClass_(NSMenuItem) then
|
||||
NSMenuItem(paritem).submenu.removeItem(NSMenuItem(item));
|
||||
Item.Release;
|
||||
//Item.Release;
|
||||
AMenuItem.Handle := 0;
|
||||
end
|
||||
end;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user