Skip to content

Commit

Permalink
Merge pull request #380 from bischofia/updateFieldName
Browse files Browse the repository at this point in the history
update field names when vector layer properties are applied
  • Loading branch information
mhugent committed Jan 10, 2013
2 parents 4ddcb3e + 2c1db1c commit 834107a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/app/qgsvectorlayerproperties.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -449,6 +449,7 @@ void QgsVectorLayerProperties::apply()
if ( layer->dataProvider()->capabilities() & QgsVectorDataProvider::SetEncoding )
{
layer->dataProvider()->setEncoding( cboProviderEncoding->currentText() );
layer->updateFieldMap();
}
}

Expand Down

0 comments on commit 834107a

Please sign in to comment.