diff --git a/EDSTest/DeviceODView.cs b/EDSTest/DeviceODView.cs index 667c7f65..6dd44f61 100644 --- a/EDSTest/DeviceODView.cs +++ b/EDSTest/DeviceODView.cs @@ -166,7 +166,8 @@ private void button_save_changes_Click(object sender, EventArgs e) subod.PDOtype = selectedobject.PDOtype; if (comboBox_accesstype.SelectedItem.ToString() != "0x1003 rw/ro") subod.accesstype = selectedobject.accesstype; - + if (kvp.Key != 0) + subod.datatype = selectedobject.datatype; } }