This website works better with JavaScript.
Home
Help
Sign In
DISTRHO
/
JUCE
mirror of
https://github.com/DISTRHO/JUCE
Watch
1
Star
0
Fork
0
Code
Releases
1
Activity
Browse Source
PopupMenu fix.
tags/2021-05-28
Julian Storer
15 years ago
parent
0c27487eca
commit
83fb316e32
2 changed files
with
6 additions
and
2 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+3
-1
juce_amalgamated.cpp
+3
-1
src/gui/components/menus/juce_PopupMenu.cpp
+ 3
- 1
juce_amalgamated.cpp
View File
@@ -68132,9 +68132,11 @@ public:
void inputAttemptWhenModal()
{
Component::SafePointer<Component> deletionChecker (this);
timerCallback();
if (! isOverAnyMenu())
if (
deletionChecker != 0 &&
! isOverAnyMenu())
{
if (componentAttachedTo != 0)
{
+ 3
- 1
src/gui/components/menus/juce_PopupMenu.cpp
View File
@@ -549,9 +549,11 @@ public:
void inputAttemptWhenModal()
{
Component::SafePointer<Component> deletionChecker (this);
timerCallback();
if (! isOverAnyMenu())
if (
deletionChecker != 0 &&
! isOverAnyMenu())
{
if (componentAttachedTo != 0)
{
Write
Preview
Loading…
Cancel
Save