Skip to content

Commit

Permalink
fix group background color of groups in expression builder tree
Browse files Browse the repository at this point in the history
  • Loading branch information
github-actions[bot] authored and nirvn committed Mar 25, 2020
1 parent 9d40c77 commit 3d339f2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/gui/qgsexpressionbuilderwidget.cpp
Expand Up @@ -532,7 +532,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 3d339f2

Please sign in to comment.