From da1abd51274c7cbca0358b62a96e0e80cfa705e1 Mon Sep 17 00:00:00 2001 From: Starryi Date: Fri, 3 Sep 2021 15:27:08 +0800 Subject: [PATCH] =?UTF-8?q?REPORT-58722=20=E3=80=90=E4=B8=BB=E9=A2=98?= =?UTF-8?q?=E5=88=87=E6=8D=A2=E3=80=91=E8=AE=BE=E8=AE=A1=E5=99=A8=E6=93=8D?= =?UTF-8?q?=E4=BD=9C=E4=B8=80=E6=AE=B5=E6=97=B6=E9=97=B4=EF=BC=8C=E7=BC=96?= =?UTF-8?q?=E8=BE=91=E4=B8=BB=E9=A2=98=E4=BF=9D=E5=AD=98=E5=BE=88=E6=85=A2?= =?UTF-8?q?=EF=BC=8C=E7=94=9A=E8=87=B3=E5=8D=A1=E6=AD=BB?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 【问题原因】 停止监听时,移除监听器 【改动思路】 同上 --- .../src/main/java/com/fr/design/mainframe/JTemplate.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/designer-base/src/main/java/com/fr/design/mainframe/JTemplate.java b/designer-base/src/main/java/com/fr/design/mainframe/JTemplate.java index 8bb23786f6..70d1f3e0e2 100644 --- a/designer-base/src/main/java/com/fr/design/mainframe/JTemplate.java +++ b/designer-base/src/main/java/com/fr/design/mainframe/JTemplate.java @@ -251,7 +251,7 @@ public abstract class JTemplate> if (themeConfigChangeListener != null) { TemplateThemeConfig config = getUsingTemplateThemeConfig(); if (config != null) { - config.addThemeConfigChangeListener(themeConfigChangeListener); + config.removeThemeConfigChangeListener(themeConfigChangeListener); } } }