Skip to content

Commit

Permalink
Spelling
Browse files Browse the repository at this point in the history
  • Loading branch information
nyalldawson committed May 4, 2021
1 parent bdf8b79 commit 0c3b3c1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/core/vector/qgsvectorlayer.cpp
Expand Up @@ -1783,7 +1783,7 @@ bool QgsVectorLayer::setDataProvider( QString const &provider, const QgsDataProv
profile->switchTask( tr( "Read layer metadata" ) );
if ( mDataProvider->capabilities() & QgsVectorDataProvider::ReadLayerMetadata )
{
// we combine the provider metadata with the layer's existing metadata, so as not to reset any user customisations to the metadata
// we combine the provider metadata with the layer's existing metadata, so as not to reset any user customizations to the metadata
// back to the default if a layer's data source is changed
QgsLayerMetadata newMetadata = mDataProvider->layerMetadata();
// this overwrites the provider metadata with any properties which are non-empty from the existing layer metadata
Expand Down

0 comments on commit 0c3b3c1

Please sign in to comment.