Skip to content
Permalink
Browse files

fix group background color of groups in expression builder tree

  • Loading branch information
github-actions authored and nirvn committed Mar 25, 2020
1 parent 9d40c77 commit 3d339f2ee82303efc4dfa8b2b3563bc2a2619d96
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/gui/qgsexpressionbuilderwidget.cpp
@@ -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 );
}

0 comments on commit 3d339f2

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