This website works better with JavaScript.
Home
Help
Sign In
DISTRHO
/
JUCE
mirror of
https://github.com/DISTRHO/JUCE
Watch
1
Star
0
Fork
0
Code
Releases
1
Activity
Browse Source
Ensure that PopupMenu section headers aren't selectable
tags/2021-05-28
ed
5 years ago
parent
c78749b14e
commit
319efc59e0
1 changed files
with
1 additions
and
0 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+1
-0
modules/juce_gui_basics/menus/juce_PopupMenu.cpp
+ 1
- 0
modules/juce_gui_basics/menus/juce_PopupMenu.cpp
View File
@@ -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));
}
Write
Preview
Loading…
Cancel
Save