Skip to content

Commit

Permalink
editing array: propagate datatype of parent to all subobjects
Browse files Browse the repository at this point in the history
  • Loading branch information
simon-fuchs-inmach authored Dec 15, 2016
1 parent 9df069d commit 5b46963
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion EDSTest/DeviceODView.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
}

Expand Down

0 comments on commit 5b46963

Please sign in to comment.