Browse Source

Toolbar: Add accessible name for custom popup menu item

v6.1.6
reuk 3 years ago
parent
commit
eb58b471c7
No known key found for this signature in database GPG Key ID: 9ADCD339CFC98A11
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      modules/juce_gui_basics/widgets/juce_Toolbar.cpp

+ 1
- 1
modules/juce_gui_basics/widgets/juce_Toolbar.cpp 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()));
}
}


Loading…
Cancel
Save