Modify

Ticket #792 (closed defect: fixed)

Opened 4 years ago

Last modified 4 years ago

Preset buttons in toolbar don't work

Reported by: Sarah Hoffmann <sahoff@…> Owned by: framm
Priority: minor Component: Core
Version: latest Keywords:
Cc:

Description

The preset buttons no longer work since the Preset submenus have been introduced. The reason is that the menu setup function messes up the 'toolbar' value of the preset action objects, so that the toolbar cannot find them.

I've attached a patch below to fix the problem. It additionally contains a fix to add JSeparators into the preset submenus instead of empty lines. Sorry for the mix-up of the two issues but it concerns the same function.

Attachments

preset_bug.patch Download (1.8 KB) - added by sahoff@… 4 years ago.

Change History

Changed 4 years ago by sahoff@…

comment:1 Changed 4 years ago by Dirk Stöcker <openstreetmap@…>

  • Status changed from new to closed
  • Resolution set to fixed

Applied in r680.

View

Add a 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.