1
0
Fork 0
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:
reuk 2022-02-14 13:41:16 +00:00
parent 6d404236e2
commit eb58b471c7
No known key found for this signature in database
GPG key ID: 9ADCD339CFC98A11

View file

@ -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()));
}
}