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:
parent
0000771751
commit
7a8a4944cb
1 changed files with 3 additions and 0 deletions
|
|
@ -380,6 +380,9 @@ void ComboBox::resized()
|
|||
|
||||
void ComboBox::enablementChanged()
|
||||
{
|
||||
if (! isEnabled())
|
||||
hidePopup();
|
||||
|
||||
repaint();
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue