浏览代码

修改修改组分类原有视图选中为空报错bug

cxs 3 月之前
父节点
当前提交
7261b3057b
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      OTSPartA_STDEditor/UI/STDRuleslist.cs

+ 1 - 1
OTSPartA_STDEditor/UI/STDRuleslist.cs

@@ -814,7 +814,7 @@ namespace OTSPartA_STDEditor
             {
                 return;
             }
-            if (treeView_G.SelectedNode.Level == null)
+            if (treeView_G.SelectedNode == null)
             {
                 return;
             }