signal an edit change when we change a name/value in the PropertyListEditor
This commit is contained in:
parent
34764cfe0c
commit
d773b5aa0f
@ -92,6 +92,11 @@ namespace UniversalEditor.Editors.PropertyList
|
||||
Group group = e.Row.GetExtraData<Group>("group");
|
||||
Property property = e.Row.GetExtraData<Property>("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<T>(IPropertyListContainer parent = null) where T : PropertyListItem
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user