update field names when vector layer properties are applied

fix http://hub.qgis.org/issues/6840