From 8a6eaf4504c04f2eca38f1c51f76dc8db38127cd Mon Sep 17 00:00:00 2001 From: ju Date: Thu, 8 Mar 2018 16:39:32 +0800 Subject: [PATCH] =?UTF-8?q?=E6=97=A0JIRA=E4=BB=BB=E5=8A=A1=20ServerConfig?= =?UTF-8?q?=E8=BF=9B=E4=B8=80=E6=AD=A5=E6=8B=86=E5=88=86?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../com/fr/design/actions/server/GlobalParameterAction.java | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/designer_base/src/com/fr/design/actions/server/GlobalParameterAction.java b/designer_base/src/com/fr/design/actions/server/GlobalParameterAction.java index 0f9e520617..c5668fb7b6 100644 --- a/designer_base/src/com/fr/design/actions/server/GlobalParameterAction.java +++ b/designer_base/src/com/fr/design/actions/server/GlobalParameterAction.java @@ -46,8 +46,6 @@ public class GlobalParameterAction extends UpdateAction { final BasicDialog parameterManagerDialog = parameterManagerPane.showWindow(designerFrame); //marks:读取服务器配置信息 - final ServerConfig configManager = ServerConfig.getInstance(); - parameterManagerPane.populate(ParameterConfig.getInstance().getGlobalParameters()); parameterManagerDialog.addDialogActionListener(new DialogActionAdapter() { public void doOk() { @@ -55,7 +53,7 @@ public class GlobalParameterAction extends UpdateAction { @Override public void run() { //apply new parameter list. - parameterManagerPane.update(configManager); + parameterManagerPane.update(); DesignModelAdapter model = DesignModelAdapter.getCurrentModelAdapter(); if (model != null) { model.parameterChanged();