Skip to content

Commit e7bbfc3

Browse files
Merge pull request #42 from s-fuchs/patch-3
editing array: propagate datatype of parent to all subobjects
2 parents 9df069d + 5b46963 commit e7bbfc3

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

‎EDSTest/DeviceODView.cs‎

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -166,7 +166,8 @@ private void button_save_changes_Click(object sender, EventArgs e)
166166
subod.PDOtype = selectedobject.PDOtype;
167167
if (comboBox_accesstype.SelectedItem.ToString() != "0x1003 rw/ro")
168168
subod.accesstype = selectedobject.accesstype;
169-
169+
if (kvp.Key != 0)
170+
subod.datatype = selectedobject.datatype;
170171
}
171172
}
172173

0 commit comments

Comments
 (0)