mirror of
https://github.com/juce-framework/JUCE.git
synced 2026-01-10 23:44:24 +00:00
Toolbar: Add accessible name for custom popup menu item
This commit is contained in:
parent
6d404236e2
commit
eb58b471c7
1 changed files with 1 additions and 1 deletions
|
|
@ -549,7 +549,7 @@ void Toolbar::showMissingItems()
|
|||
{
|
||||
PopupMenu m;
|
||||
auto comp = std::make_unique<MissingItemsComponent> (*this, getThickness());
|
||||
m.addCustomItem (1, std::move (comp));
|
||||
m.addCustomItem (1, std::move (comp), nullptr, TRANS ("Additional Items"));
|
||||
m.showMenuAsync (PopupMenu::Options().withTargetComponent (missingItemsButton.get()));
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue