We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 07f939e commit f46563eCopy full SHA for f46563e
src/gui/attributetable/qgsdualview.cpp
@@ -916,8 +916,7 @@ void QgsDualView::setFeatureSelectionManager( QgsIFeatureSelectionManager *featu
916
void QgsDualView::setAttributeTableConfig( const QgsAttributeTableConfig &config )
917
{
918
mConfig = config;
919
- if ( mLayer )
920
- mConfig.update( mLayer->fields() );
+ mConfig.update( mLayer->fields() );
921
mLayer->setAttributeTableConfig( mConfig );
922
mFilterModel->setAttributeTableConfig( mConfig );
923
mTableView->setAttributeTableConfig( mConfig );
0 commit comments