Skip to content
Permalink
Browse files

Relation reference widget make current entry bold

  • Loading branch information
m-kuhn committed Oct 26, 2017
1 parent d676035 commit fd772dc081805b9cbce8dd2e7790c9faacf05ab1
Showing with 5 additions and 2 deletions.
  1. +5 −2 src/core/qgsfeaturefiltermodel.cpp
@@ -145,12 +145,15 @@ QVariant QgsFeatureFilterModel::data( const QModelIndex &index, int role ) const
break;

case Qt::FontRole:
QFont font = QFont();
if ( index.row() == mExtraIdentifierValueIndex )
font.setBold( true );

if ( mEntries.value( index.row() ).identifierValue.isNull() )
{
QFont font = QFont();
font.setItalic( true );
return font;
}
return font;
break;
}

0 comments on commit fd772dc

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