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
Ensure that ComboBox::menuActive flag is set when calling showPopup()
tags/2021-05-28
ed
7 years ago
parent
4ecd7eb8e8
commit
f70a450bd4
1 changed files
with
3 additions
and
0 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+3
-0
modules/juce_gui_basics/widgets/juce_ComboBox.cpp
+ 3
- 0
modules/juce_gui_basics/widgets/juce_ComboBox.cpp
View File
@@ -523,6 +523,9 @@ static void comboBoxPopupMenuFinishedCallback (int result, ComboBox* combo)
void ComboBox::showPopup()
{
if (! menuActive)
menuActive = true;
auto menu = currentMenu;
if (menu.getNumItems() > 0)
Write
Preview
Loading…
Cancel
Save