B2022-075 Added a null reference check when checking if RO table is up to date
This commit is contained in:
parent
1974599986
commit
7aaa13ef32
@ -1024,7 +1024,7 @@ namespace VEPROMS.CSLA.Library
|
|||||||
if (rotype == (int)E_ROValueType.Table) // if change in rotable data...
|
if (rotype == (int)E_ROValueType.Table) // if change in rotable data...
|
||||||
{
|
{
|
||||||
List<string> retlist = origROFstInfo.OnROTableUpdate(this.Get(), new ROFstInfoROTableUpdateEventArgs(newvalue, MyGrid.Data));
|
List<string> retlist = origROFstInfo.OnROTableUpdate(this.Get(), new ROFstInfoROTableUpdateEventArgs(newvalue, MyGrid.Data));
|
||||||
if (Text != retlist[0]) _Text = retlist[0];
|
if (retlist != null && Text != retlist[0]) _Text = retlist[0]; //B2022-075 added null reference check
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user