diff --git a/Libraries/UniversalEditor.UserInterface/Editors/PropertyList/PropertyListEditor.cs b/Libraries/UniversalEditor.UserInterface/Editors/PropertyList/PropertyListEditor.cs index 1fa4cca0..c71c5f37 100644 --- a/Libraries/UniversalEditor.UserInterface/Editors/PropertyList/PropertyListEditor.cs +++ b/Libraries/UniversalEditor.UserInterface/Editors/PropertyList/PropertyListEditor.cs @@ -92,6 +92,11 @@ namespace UniversalEditor.Editors.PropertyList Group group = e.Row.GetExtraData("group"); Property property = e.Row.GetExtraData("property"); + if (e.NewValue == e.OldValue) + return; + + BeginEdit(); + if (e.Column == tv.Model.Columns[0]) { // changing the Name @@ -116,6 +121,8 @@ namespace UniversalEditor.Editors.PropertyList property.Value = e.NewValue; } } + + EndEdit(); } private int GetNextIndex(IPropertyListContainer parent = null) where T : PropertyListItem