Skip to content

Commit

Permalink
Fix conditional styling widget does not initially show rules belonging
Browse files Browse the repository at this point in the history
to first field when opening the widget

(cherry picked from commit 2e7a3b0)
  • Loading branch information
nyalldawson authored and nirvn committed Jan 8, 2020
1 parent a147311 commit 34ff30d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/gui/attributetable/qgsfieldconditionalformatwidget.cpp
Expand Up @@ -50,6 +50,7 @@ void QgsFieldConditionalFormatWidget::setLayer( QgsVectorLayer *layer )
mLayer = layer;
mFieldCombo->setLayer( layer );
mFieldCombo->setCurrentIndex( 0 );
fieldChanged( mFieldCombo->currentField() );
}

void QgsFieldConditionalFormatWidget::ruleClicked( const QModelIndex &index )
Expand Down

0 comments on commit 34ff30d

Please sign in to comment.