From a409c88410391e8f6c5ea4c22b81b0ab1e6a798d Mon Sep 17 00:00:00 2001
From: wxr <wxr@hdlchina.com.cn>
Date: 星期四, 06 六月 2024 11:59:14 +0800
Subject: [PATCH] 开放场景控制通用开关

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

diff --git a/HDL_ON/UI/UI2/3-Intelligence/IntelligencePage.cs b/HDL_ON/UI/UI2/3-Intelligence/IntelligencePage.cs
index c5c07c0..4fdd6fa 100644
--- a/HDL_ON/UI/UI2/3-Intelligence/IntelligencePage.cs
+++ b/HDL_ON/UI/UI2/3-Intelligence/IntelligencePage.cs
@@ -727,6 +727,10 @@
         {
             btnAddIcon.MouseUpEventHandler = (sender, e) =>
             {
+                if (btnSecurityTitle != null && btnSecurityTitle.IsSelected)
+                {
+                    return;
+                }
                 if (!btnAutomationTitle.IsSelected)
                 {
                     //濡傛灉鏄垚鍛�

--
Gitblit v1.8.0