Fixed bug when deleting a layer which uses a ft or a c..
binding => type in ft attributes...