Modify ↓
Opened 6 years ago
Closed 6 years ago
#123 closed defect (wontfix)
Plugin actions cannot be registered and put in the toolbar
| Reported by: | frsantos@… | Owned by: | imi |
|---|---|---|---|
| Priority: | major | Component: | Core |
| Version: | latest | Keywords: | |
| Cc: |
Description
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.
Attachments (0)
Change History (1)
comment:1 Changed 6 years ago by imi
- Resolution set to wontfix
- Status changed from new to closed
Note: See
TracTickets for help on using
tickets.



The "workaround" was the intention of refreshToolbarControl(). I added a comment to make it clear ;-).