Skip to content
Permalink
Browse files

Fix - Fix font color in table conditional present selection (#8136)

  • Loading branch information
NathanW2 committed Oct 8, 2018
1 parent f630c93 commit ca4fcceb8fd37e3eeb00ccfa3a6b059b574b9c2f
Showing with 2 additions and 2 deletions.
  1. +2 −2 src/gui/attributetable/qgsfieldconditionalformatwidget.cpp
@@ -206,9 +206,9 @@ void QgsFieldConditionalFormatWidget::setPresets( const QList<QgsConditionalStyl
if ( style.isValid() )
{
QStandardItem *item = new QStandardItem( QStringLiteral( "abc - 123" ) );
if ( style.backgroundColor().isValid() )
if ( style.validBackgroundColor() )
item->setBackground( style.backgroundColor() );
if ( style.textColor().isValid() )
if ( style.validTextColor() )
item->setForeground( style.textColor() );
if ( style.symbol() )
item->setIcon( style.icon() );

0 comments on commit ca4fcce

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