Action Button to be available on map and player hand windows

For some reason, the Action Button component only appears at the top module level. It could be really useful in map and player hand windows too.

This old request received a reply but I think the reply missed the point (understandably, as the Action Button component is easily confused with the Action Button trait). We are talking about the Module level component here…

I can see no reason why Action Buttons couldn’t be added as an allowable Child for Maps.

Whoever looks at this will need to override AbstractToolbarItem.addTo and removeFrom and add the button to the correct toolbar.


Logged as Github issue #10820.