B2024-084 Fix Refresh Issue in RO Definitions. #439
@ -220,6 +220,7 @@ namespace ROEditor
|
||||
return;
|
||||
}
|
||||
|
||||
string origFieldName = myrof.GetFieldname;
|
||||
myrof.SetFieldname(this.tbFieldName.Text);
|
||||
uint ftype=0;
|
||||
if (this.rbSingleLine.Checked == true)
|
||||
@ -270,7 +271,9 @@ namespace ROEditor
|
||||
}
|
||||
myrof.SetFieldType(ftype);
|
||||
FieldTextFrm ftxt = new FieldTextFrm(myrof, myrodb, myelem, original_type, editlevel, origname, avlist, iulist);
|
||||
ftxt.ShowDialog();
|
||||
if (ftxt.ShowDialog() == DialogResult.Cancel)
|
||||
myrof.SetFieldname(origFieldName);
|
||||
|
||||
this.Close();
|
||||
}
|
||||
#region Windows Form Designer generated code
|
||||
|
Loading…
x
Reference in New Issue
Block a user