mirror of
https://github.com/juce-framework/JUCE.git
synced 2026-01-10 23:44:24 +00:00
Ensure that ComboBox::menuActive flag is set when calling showPopup()
This commit is contained in:
parent
4ecd7eb8e8
commit
f70a450bd4
1 changed files with 3 additions and 0 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue