Skip to content
Permalink
Browse files

fixes reading of legacy setting of WMS/WFS exclusion for joined fields (

#39714)

fixes #39699
  • Loading branch information
3nids committed Oct 30, 2020
1 parent f5ba02e commit 7ab1f19a952f59c07439778684f321f11f64fedf
Showing with 4 additions and 2 deletions.
  1. +4 −2 src/core/qgsvectorlayer.cpp
@@ -2363,8 +2363,10 @@ bool QgsVectorLayer::readSymbology( const QDomNode &layerNode, QString &errorMes
for ( int i = 0; i < attributeNodeList.size(); ++i )
{
QString fieldName = attributeNodeList.at( i ).toElement().text();
int index = mFields.indexFromName( fieldName );
setFieldConfigurationFlag( index, config.second, true );
if ( !mFieldConfigurationFlags.contains( fieldName ) )
mFieldConfigurationFlags[fieldName] = config.second;
else
mFieldConfigurationFlags[fieldName].setFlag( config.second, true );
}
}
}

0 comments on commit 7ab1f19

Please sign in to comment.
You can’t perform that action at this time.