Skip to content

Commit 834107a

Browse files
committed
Merge pull request #380 from bischofia/updateFieldName
update field names when vector layer properties are applied
2 parents 4ddcb3e + 2c1db1c commit 834107a

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/app/qgsvectorlayerproperties.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -449,6 +449,7 @@ void QgsVectorLayerProperties::apply()
449449
if ( layer->dataProvider()->capabilities() & QgsVectorDataProvider::SetEncoding )
450450
{
451451
layer->dataProvider()->setEncoding( cboProviderEncoding->currentText() );
452+
layer->updateFieldMap();
452453
}
453454
}
454455

0 commit comments

Comments
 (0)