Replacing ContentTypeBase PropertyGroups/Types entirely should dirty the ppty

This commit is contained in:
Stephan
2015-11-16 17:46:26 +01:00
parent c7474487c9
commit acd64cc776

View File

@@ -373,6 +373,7 @@ namespace Umbraco.Core.Models
{
_propertyGroups = value;
_propertyGroups.CollectionChanged += PropertyGroupsChanged;
PropertyGroupsChanged(_propertyGroups, new NotifyCollectionChangedEventArgs(NotifyCollectionChangedAction.Reset));
}
}
@@ -401,6 +402,7 @@ namespace Umbraco.Core.Models
{
_propertyTypes = new PropertyTypeCollection(value);
_propertyTypes.CollectionChanged += PropertyTypesChanged;
PropertyTypesChanged(_propertyTypes, new NotifyCollectionChangedEventArgs(NotifyCollectionChangedAction.Reset));
}
}