Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Fix for #8847, blank entries (menu separators) in Customization dialo…
…g tree

- Do not add separator actions to menu action tree; separators could not be toggled on/off with customization anyways
  • Loading branch information
dakcarto committed Oct 17, 2013
1 parent d5f167f commit ddd4dae
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/app/qgscustomization.cpp
Expand Up @@ -477,6 +477,10 @@ void QgsCustomization::addTreeItemActions( QTreeWidgetItem* parentItem, const QL
{
foreach ( QAction* action, actions )
{
if ( action->isSeparator() )
{
continue;
}
if ( action->menu() )
{
// it is a submenu
Expand Down

0 comments on commit ddd4dae

Please sign in to comment.