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

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

Add Comment

Modify Ticket

Change Properties
<Author field>
Action
as closed .
as The resolution will be set. Next status will be 'closed'.
The resolution will be deleted. Next status will be 'reopened'.
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.