Preset buttons in toolbar don't work
|Reported by:||Sarah Hoffmann <sahoff@…>||Owned by:||framm|
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.