Skip to content

Commit ddd4dae

Browse files
committed
Fix for #8847, blank entries (menu separators) in Customization dialog tree
- Do not add separator actions to menu action tree; separators could not be toggled on/off with customization anyways
1 parent d5f167f commit ddd4dae

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/app/qgscustomization.cpp

+4
Original file line numberDiff line numberDiff line change
@@ -477,6 +477,10 @@ void QgsCustomization::addTreeItemActions( QTreeWidgetItem* parentItem, const QL
477477
{
478478
foreach ( QAction* action, actions )
479479
{
480+
if ( action->isSeparator() )
481+
{
482+
continue;
483+
}
480484
if ( action->menu() )
481485
{
482486
// it is a submenu

0 commit comments

Comments
 (0)