diff --git a/AppKit/CPMenu/_CPMenuManager.j b/AppKit/CPMenu/_CPMenuManager.j index 93ebc0480..9c7b27213 100644 --- a/AppKit/CPMenu/_CPMenuManager.j +++ b/AppKit/CPMenu/_CPMenuManager.j @@ -375,6 +375,8 @@ var STICKY_TIME_INTERVAL = 500, var count = _menuContainerStack.length, index = count; + [newMenu _menuWillOpen]; + // Hide all menus up to the base menu... while (index--) { @@ -394,6 +396,8 @@ var STICKY_TIME_INTERVAL = 500, [_CPMenuWindow poolMenuWindow:menuContainer]; [_menuContainerStack removeObjectAtIndex:index]; + + [menu _menuDidClose]; } if (!newMenu)