Skip to content
Permalink
Browse files

fix group background color of groups in expression builder tree (#35323)

bacport of #35303
  • Loading branch information
3nids committed Mar 25, 2020
1 parent 6927d04 commit 720a104cb467ccde64154f4ac60536ad7c73c840
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/gui/qgsexpressionbuilderwidget.cpp
@@ -575,7 +575,7 @@ void QgsExpressionBuilderWidget::registerItem( const QString &group,
//Recent group should always be last group
newgroupNode->setData( group.startsWith( QLatin1String( "Recent (" ) ) ? 2 : 1, QgsExpressionItem::CUSTOM_SORT_ROLE );
newgroupNode->appendRow( item );
newgroupNode->setBackground( QBrush( QColor( 238, 238, 238 ) ) );
newgroupNode->setBackground( QBrush( QColor( 150, 150, 150, 150 ) ) );
mModel->appendRow( newgroupNode );
mExpressionGroups.insert( group, newgroupNode );
}

0 comments on commit 720a104

Please sign in to comment.
You can’t perform that action at this time.