From f90bcf177217ad0e104bc811d576c1517b79758e Mon Sep 17 00:00:00 2001
From: yyl <yyl>
Date: 星期五, 09 一月 2026 11:04:57 +0800
Subject: [PATCH] Merge branch 'master' of http://192.168.1.20:10010/r/Project_SG_scripts

---
 Main/System/GMCommand/GMCmdPanel.cs |    5 +++++
 1 files changed, 5 insertions(+), 0 deletions(-)

diff --git a/Main/System/GMCommand/GMCmdPanel.cs b/Main/System/GMCommand/GMCmdPanel.cs
index 0df2d85..d89fd95 100644
--- a/Main/System/GMCommand/GMCmdPanel.cs
+++ b/Main/System/GMCommand/GMCmdPanel.cs
@@ -30,6 +30,11 @@
         CreateCmdCell();
     }
 
+    protected override void OnPreClose()
+    {
+        _cmdCtrl.OnRefreshCell -= RefreshCmdCell;
+    }
+
     protected override void OnOpen()
     {
         base.OnOpen();

--
Gitblit v1.8.0