Skip to content

Commit

Permalink
Cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
nyalldawson committed Mar 27, 2018
1 parent 556668e commit d24f8a3
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/gui/attributetable/qgsdualview.cpp
Expand Up @@ -916,8 +916,7 @@ void QgsDualView::setFeatureSelectionManager( QgsIFeatureSelectionManager *featu
void QgsDualView::setAttributeTableConfig( const QgsAttributeTableConfig &config )
{
mConfig = config;
if ( mLayer )
mConfig.update( mLayer->fields() );
mConfig.update( mLayer->fields() );
mLayer->setAttributeTableConfig( mConfig );
mFilterModel->setAttributeTableConfig( mConfig );
mTableView->setAttributeTableConfig( mConfig );
Expand Down

0 comments on commit d24f8a3

Please sign in to comment.