Skip to content
Permalink
Browse files

Fix dual view's feature list not using app palette

  • Loading branch information
nirvn committed Jan 16, 2019
1 parent f275cc0 commit cabcce1fcdc657506d25ca20a7fdeaf040f99668
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/gui/attributetable/qgsfeaturelistviewdelegate.cpp
@@ -98,7 +98,7 @@ void QgsFeatureListViewDelegate::paint( QPainter *painter, const QStyleOptionVie
// Text layout options
QRect textLayoutBounds( iconLayoutBounds.x() + iconLayoutBounds.width(), option.rect.y(), option.rect.width() - ( iconLayoutBounds.x() + iconLayoutBounds.width() ), option.rect.height() );

QStyleOptionViewItem textOption;
QStyleOptionViewItem textOption = option;
textOption.state |= QStyle::State_Enabled;
if ( isEditSelection )
{

0 comments on commit cabcce1

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