Disable "Menu Button" action but keep its submenu accessible

Hi,

I have a "Menu Button" with an action attached to it, and a submenu (arrow on the right) with other buttons.

Is it possible to conditionally disable the action associated to the Menu Button, but keep access to the submenu ? Currently, when I use for instance @disablenosel:type=*.txt on the Menu Button, it is disabled if no .txt is selected, but the submenu cannot be opened, while some commands would work even without .txt files selected.

Hope this is clear. (^_^')

Cheers
-- Thierry

Yes, while editing the toolbar, right-click the menu-button, and there's an Always enable drop-down option there.

On the default toolbars, the Delete menu-button is an example where this is turned on, since the button part is only enabled when files are selected, but the menu part is always available for things like emptying the recycle bin.

1 Like

Brilliant, thank you!