Skip to content
Permalink
Browse files

fix group background color of groups in expression builder tree

bacport of #35303
  • Loading branch information
3nids committed Mar 25, 2020
1 parent 6927d04 commit e2be8f08a0549b8475f0414059c1fe9e3c6c38f8
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 e2be8f0

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