fix #7332
Merge pull request #467 from 3nids/immutablefields

[fix #7332] enables fields edition for newly added layers