Skip to content

Commit

Permalink
Fix dual view's feature list not using app palette
Browse files Browse the repository at this point in the history
  • Loading branch information
nirvn committed Jan 16, 2019
1 parent f275cc0 commit cabcce1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/gui/attributetable/qgsfeaturelistviewdelegate.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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 )
{
Expand Down

0 comments on commit cabcce1

Please sign in to comment.