From 7d9cb645b9ec7dd949fde0ef60e4efb5dac17294 Mon Sep 17 00:00:00 2001
From: wxr <wxr@hdlchina.com.cn>
Date: 星期三, 12 六月 2024 16:23:52 +0800
Subject: [PATCH] Update HDL_ON.projitems

---
 HDL_ON/UI/UI2/3-Intelligence/IntelligencePage.cs |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/HDL_ON/UI/UI2/3-Intelligence/IntelligencePage.cs b/HDL_ON/UI/UI2/3-Intelligence/IntelligencePage.cs
index 0d20f45..4fdd6fa 100644
--- a/HDL_ON/UI/UI2/3-Intelligence/IntelligencePage.cs
+++ b/HDL_ON/UI/UI2/3-Intelligence/IntelligencePage.cs
@@ -727,7 +727,7 @@
         {
             btnAddIcon.MouseUpEventHandler = (sender, e) =>
             {
-                if (btnSecurityTitle.IsSelected)
+                if (btnSecurityTitle != null && btnSecurityTitle.IsSelected)
                 {
                     return;
                 }

--
Gitblit v1.8.0