Explorar o código

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

cxs hai 3 meses
pai
achega
7261b3057b
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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;
             }