mirror of
https://github.com/juce-framework/JUCE.git
synced 2026-01-30 02:50:05 +00:00
Previously it was possible to inadvertently activate a menu item by clicking on a submenu item that was drawn on top of the parent menu. The root cause was that hide() initiates an asynchronous mechanism through exitModalState() that eventually destroys the MenuWindow, but the MouseSourceState timer callbacks and event handlers sometimes still had a chance to do a state update. Since the submenus have just been destroyed the update could mistakenly conclude to activate one of the items of the now lone parent. |
||
|---|---|---|
| .. | ||
| juce_BurgerMenuComponent.cpp | ||
| juce_BurgerMenuComponent.h | ||
| juce_MenuBarComponent.cpp | ||
| juce_MenuBarComponent.h | ||
| juce_MenuBarModel.cpp | ||
| juce_MenuBarModel.h | ||
| juce_PopupMenu.cpp | ||
| juce_PopupMenu.h | ||