Skip to content
Permalink
Browse files
Fix broken logic test in QgsFeatureListModel conditional styles
  • Loading branch information
nyalldawson committed Mar 21, 2017
1 parent eb742bd commit 05a3ce3be68462b6bf3c628c1a5064f9260ef5ce
Showing with 3 additions and 4 deletions.
  1. +3 −4 src/gui/attributetable/qgsfeaturelistmodel.cpp
@@ -132,11 +132,10 @@ QVariant QgsFeatureListModel::data( const QModelIndex &index, int role ) const
return Qt::AlignLeft;
}


if ( role == Qt::BackgroundColorRole
|| Qt::TextColorRole
|| Qt::DecorationRole
|| Qt::FontRole )
|| role == Qt::TextColorRole
|| role == Qt::DecorationRole
|| role == Qt::FontRole )
{
QgsVectorLayer *layer = mFilterModel->layer();
QgsFeature feat;

0 comments on commit 05a3ce3

Please sign in to comment.