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
  • Loading branch information
nyalldawson committed Jan 7, 2020
1 parent 3f9b53e commit d96a32f
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 d96a32f

Please sign in to comment.