Skip to content
Permalink
Browse files

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

#39715)

Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
  • Loading branch information
qgis-bot and github-actions committed Oct 30, 2020
1 parent 82e6f24 commit f491c2444bb6c44ebe06a6e26735d8c853a17947
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 f491c24

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