Skip to content

Commit 5ff59ce

Browse files
committedJan 16, 2019
Fix dual view's feature list not using app palette
1 parent 299e355 commit 5ff59ce

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎src/gui/attributetable/qgsfeaturelistviewdelegate.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ void QgsFeatureListViewDelegate::paint( QPainter *painter, const QStyleOptionVie
9898
// Text layout options
9999
QRect textLayoutBounds( iconLayoutBounds.x() + iconLayoutBounds.width(), option.rect.y(), option.rect.width() - ( iconLayoutBounds.x() + iconLayoutBounds.width() ), option.rect.height() );
100100

101-
QStyleOptionViewItem textOption;
101+
QStyleOptionViewItem textOption = option;
102102
textOption.state |= QStyle::State_Enabled;
103103
if ( isEditSelection )
104104
{

0 commit comments

Comments
 (0)
Please sign in to comment.