1
0
Fork 0
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:
ed 2018-05-15 11:00:02 +01:00
parent 4ecd7eb8e8
commit f70a450bd4

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)