소스 검색

修改修改组分类原有视图选中为空报错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;
             }