Skip to content
Permalink
Browse files
Merge pull request #380 from bischofia/updateFieldName
update field names when vector layer properties are applied
  • Loading branch information
mhugent committed Jan 10, 2013
2 parents 4ddcb3e + 2c1db1c commit 834107a68af240c486dd467a9dceac812d4beba2
Showing with 1 addition and 0 deletions.
  1. +1 −0 src/app/qgsvectorlayerproperties.cpp
@@ -449,6 +449,7 @@ void QgsVectorLayerProperties::apply()
if ( layer->dataProvider()->capabilities() & QgsVectorDataProvider::SetEncoding )
{
layer->dataProvider()->setEncoding( cboProviderEncoding->currentText() );
layer->updateFieldMap();
}
}

0 comments on commit 834107a

Please sign in to comment.