From 5b3e2ed5475ff7bee89f310a41829041928d23d9 Mon Sep 17 00:00:00 2001 From: ju Date: Fri, 20 Oct 2017 15:13:51 +0800 Subject: [PATCH] fix --- .../design/mainframe/errorinfo/ErrorInfoUploader.java | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/designer/src/com/fr/design/mainframe/errorinfo/ErrorInfoUploader.java b/designer/src/com/fr/design/mainframe/errorinfo/ErrorInfoUploader.java index 43847170ab..40e8700479 100644 --- a/designer/src/com/fr/design/mainframe/errorinfo/ErrorInfoUploader.java +++ b/designer/src/com/fr/design/mainframe/errorinfo/ErrorInfoUploader.java @@ -11,6 +11,8 @@ import com.fr.json.JSONException; import com.fr.json.JSONObject; import com.fr.license.function.VT4FR; import com.fr.log.LogHandler; +import com.fr.regist.FRCoreContext; +import com.fr.regist.LicenseListener; import com.fr.stable.CodeUtils; import com.fr.stable.EnvChangedListener; import com.fr.stable.ProductConstants; @@ -52,6 +54,14 @@ public class ErrorInfoUploader { // 这个控制没啥意义, 主要在于宣传功能. licSupport = VT4FR.AlphaFine.support(); + FRCoreContext.listenerLicense(new LicenseListener() { + + @Override + public void onChange() { + + licSupport = VT4FR.AlphaFine.support(); + } + }); } private ErrorInfoUploader() {