mirror of
https://github.com/juce-framework/JUCE.git
synced 2026-01-24 01:54:22 +00:00
Fixed a crash that could occur when dismissing all active PopupMenus
This commit is contained in:
parent
544e35655a
commit
6ee59ed6db
1 changed files with 1 additions and 1 deletions
|
|
@ -1741,8 +1741,8 @@ bool JUCE_CALLTYPE PopupMenu::dismissAllActiveMenus()
|
|||
{
|
||||
if (auto* pmw = windows[i])
|
||||
{
|
||||
pmw->dismissMenu (nullptr);
|
||||
pmw->setLookAndFeel (nullptr);
|
||||
pmw->dismissMenu (nullptr);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue