Browse Source

REPORT-53591 远程环境检测及同步-插件名称提示有误

feature/10.0
pengda 3 years ago
parent
commit
a867ed903a
  1. 4
      designer-base/src/main/java/com/fr/env/SyncFailedPluginsDialog.java

4
designer-base/src/main/java/com/fr/env/SyncFailedPluginsDialog.java vendored

@ -44,7 +44,7 @@ public class SyncFailedPluginsDialog extends JDialog {
private JFrame frame = DesignerContext.getDesignerFrame(); private JFrame frame = DesignerContext.getDesignerFrame();
private RestartHelper restartHelper = new RestartHelper(); private RestartHelper restartHelper = new RestartHelper();
private UIButton restartButton; private UIButton restartButton;
private boolean show; private boolean show = false;
public SyncFailedPluginsDialog(JFrame parent, JSONArray syncFailedPlugins) { public SyncFailedPluginsDialog(JFrame parent, JSONArray syncFailedPlugins) {
super(parent, true); super(parent, true);
JPanel body = FRGUIPaneFactory.createBorderLayout_L_Pane(); JPanel body = FRGUIPaneFactory.createBorderLayout_L_Pane();
@ -110,7 +110,7 @@ public class SyncFailedPluginsDialog extends JDialog {
detailsText.append(plugin.getString("name")).append(",").append(Toolkit.i18nText("Fine-Design_Basic_Sync_Server_Version")).append(plugin.getString("version")).append("\n"); detailsText.append(plugin.getString("name")).append(",").append(Toolkit.i18nText("Fine-Design_Basic_Sync_Server_Version")).append(plugin.getString("version")).append("\n");
} }
detailsTextArea.setText(detailsText.toString()); detailsTextArea.setText(detailsText.toString());
if(!ComparatorUtils.equals(detailsLabel.getText(),StringUtils.EMPTY)){ if(!ComparatorUtils.equals(detailsTextArea.getText(),StringUtils.EMPTY)){
show = true; show = true;
} }
} }

Loading…
Cancel
Save