Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
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 e2be8f0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/gui/qgsexpressionbuilderwidget.cpp
Expand Up @@ -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 );
}
Expand Down

0 comments on commit e2be8f0

Please sign in to comment.