1
0
Fork 0
mirror of https://github.com/juce-framework/JUCE.git synced 2026-01-10 23:44:24 +00:00

ComboBox: Hide active menu when disabled

This commit is contained in:
ed 2021-10-08 11:30:50 +01:00
parent 0000771751
commit 7a8a4944cb

View file

@ -380,6 +380,9 @@ void ComboBox::resized()
void ComboBox::enablementChanged()
{
if (! isEnabled())
hidePopup();
repaint();
}