mirror of
https://github.com/juce-framework/JUCE.git
synced 2026-01-22 01:34:21 +00:00
PopupMenu fix.
This commit is contained in:
parent
0c27487eca
commit
83fb316e32
2 changed files with 6 additions and 2 deletions
|
|
@ -68132,9 +68132,11 @@ public:
|
|||
|
||||
void inputAttemptWhenModal()
|
||||
{
|
||||
Component::SafePointer<Component> deletionChecker (this);
|
||||
|
||||
timerCallback();
|
||||
|
||||
if (! isOverAnyMenu())
|
||||
if (deletionChecker != 0 && ! isOverAnyMenu())
|
||||
{
|
||||
if (componentAttachedTo != 0)
|
||||
{
|
||||
|
|
|
|||
|
|
@ -549,9 +549,11 @@ public:
|
|||
|
||||
void inputAttemptWhenModal()
|
||||
{
|
||||
Component::SafePointer<Component> deletionChecker (this);
|
||||
|
||||
timerCallback();
|
||||
|
||||
if (! isOverAnyMenu())
|
||||
if (deletionChecker != 0 && ! isOverAnyMenu())
|
||||
{
|
||||
if (componentAttachedTo != 0)
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue