Plugin actions cannot be registered and put in the toolbar
|Reported by:||frsantos@…||Owned by:||imi|
The toolbar is initialized on the constructor of the "Main" object, before loading the plugins. So, any actions provided by these plugins are not added to the toolbar until a new refresh (when accepting the preferences window) and an empty box appears instead of the action icon.
A workaround may be calling Main.toolbar.refreshToolbarControl(); in the plugin constructor, but this should be done in the main application.