B2026-051 Fix Error loading Display Ros when cannot find RO lookup
This commit is contained in:
@@ -714,7 +714,7 @@ namespace Volian.Controls.Library
|
|||||||
if ((ROTypeFilter == E_ROValueType.Text || ROTypeFilter == E_ROValueType.All) && this.MyDvi != null && this.MyDvi.MultiUnitCount > 1)
|
if ((ROTypeFilter == E_ROValueType.Text || ROTypeFilter == E_ROValueType.All) && this.MyDvi != null && this.MyDvi.MultiUnitCount > 1)
|
||||||
{
|
{
|
||||||
// Add Unit Information Database if it doesn't exist
|
// Add Unit Information Database if it doesn't exist
|
||||||
if (unitInfoNode == null)
|
if (unitInfoNode == null && MyROFSTLookup != null)
|
||||||
{
|
{
|
||||||
TreeNode tnn = tvROFST.Nodes.Add("Unit Information");
|
TreeNode tnn = tvROFST.Nodes.Add("Unit Information");
|
||||||
TreeNode cn = null;
|
TreeNode cn = null;
|
||||||
|
|||||||
Reference in New Issue
Block a user