I’m using ComboBox as a drop-down menu with options to select, save, and open presets (among other things). I would like the ComboBox to re-scan all presets before it’s shown to the user when they select the dropdown.
I tried to override Component::mouseDown, but when this is overridden the menu doesn’t show when clicked. The listener isn’t called unless the selection is changed.
Is there a straightforward way to update a ComboBox menu before it’s shown when selected?