B2026-051 Fix Error loading Display Ros when cannot find RO lookup

This commit is contained in:
2026-05-22 11:07:57 -04:00
parent 0080a42423
commit 014fde301c
+1 -1
View File
@@ -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;