update field names when vector layer properties are applied

Fix for http://hub.qgis.org/issues/6840