From 1887ea937010ff8caba39622e8246a2802ca02c5 Mon Sep 17 00:00:00 2001 From: wei <kaede@kaededeMacBook-Air.local> Date: 星期一, 21 十二月 2020 19:40:04 +0800 Subject: [PATCH] 20201221-3 --- HDL_ON/UI/UI2/3-Intelligence/Scene/SceneAddPage.cs | 5 +---- 1 files changed, 1 insertions(+), 4 deletions(-) diff --git a/HDL_ON/UI/UI2/3-Intelligence/Scene/SceneAddPage.cs b/HDL_ON/UI/UI2/3-Intelligence/Scene/SceneAddPage.cs index 9a804fc..c479b08 100644 --- a/HDL_ON/UI/UI2/3-Intelligence/Scene/SceneAddPage.cs +++ b/HDL_ON/UI/UI2/3-Intelligence/Scene/SceneAddPage.cs @@ -499,10 +499,7 @@ } } - if (sceneFunction.status.Count == 0) - { - return sceneFunctionInfo += Language.StringByID(StringId.Open); - } + sceneFunctionInfo += Language.StringByID(StringId.Open); var modeState = sceneFunction.status.Find((obj) => obj.key == FunctionAttributeKey.Mode); var tempState = sceneFunction.status.Find((obj) => obj.key == FunctionAttributeKey.SetTemp); -- Gitblit v1.8.0