mirror of
https://github.com/juce-framework/JUCE.git
synced 2026-01-10 23:44:24 +00:00
Ensure that PopupMenu section headers aren't selectable
This commit is contained in:
parent
84849f8808
commit
3a4c0f9012
1 changed files with 1 additions and 0 deletions
|
|
@ -1589,6 +1589,7 @@ void PopupMenu::addSeparator()
|
|||
void PopupMenu::addSectionHeader (String title)
|
||||
{
|
||||
Item i (std::move (title));
|
||||
i.itemID = 0;
|
||||
i.isSectionHeader = true;
|
||||
addItem (std::move (i));
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue