mirror of
https://github.com/juce-framework/JUCE.git
synced 2026-01-09 23:34:20 +00:00
Fix bug where a disabled ComboBox could be displayed using screen readers
This commit is contained in:
parent
07f801143c
commit
65e9bf1c52
1 changed files with 3 additions and 0 deletions
|
|
@ -531,6 +531,9 @@ static void comboBoxPopupMenuFinishedCallback (int result, ComboBox* combo)
|
||||||
|
|
||||||
void ComboBox::showPopup()
|
void ComboBox::showPopup()
|
||||||
{
|
{
|
||||||
|
if (! isEnabled())
|
||||||
|
return;
|
||||||
|
|
||||||
if (! menuActive)
|
if (! menuActive)
|
||||||
menuActive = true;
|
menuActive = true;
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue