Skip to content

Commit ac099a2

Browse files
committed
correct PR
1 parent 7e3065e commit ac099a2

1 file changed

Lines changed: 6 additions & 3 deletions

File tree

EDSEditorGUI/DeviceODView.cs

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -531,13 +531,16 @@ private void ObjectSave()
531531
{
532532
od.prop.CO_accessSRDO = AccessSRDO.no;
533533
}
534-
for (ushort i = 1; i < od.parent.Nosubindexes; i++) {
535-
if (od.parent.subobjects[i].defaultvalue == "") {
534+
535+
for (ushort i = 1; i < od.parent.Nosubindexes; i++)
536+
{
537+
if (od.parent.subobjects[i].defaultvalue == "")
538+
{
536539
od.parent.subobjects[i].defaultvalue = textBox_defaultValue.Text;
537540
}
538541
}
539542

540-
// od.actualvalue = textBox_actualValue.Text;
543+
od.actualvalue = textBox_actualValue.Text;
541544
od.HighLimit = textBox_highLimit.Text;
542545
od.LowLimit = textBox_lowLimit.Text;
543546

0 commit comments

Comments
 (0)