Browse Source

Pull request #12504: REPORT-91839 模板版本管理二期 修复bug

Merge in DESIGN/design from ~DESTINY.LIN/design:release/11.0 to release/11.0

* commit 'ebb5e05e12348d2989dae11f912b3181cca945ad':
  REPORT-101478 【版本管理二期】部分配置项默认没有勾选
  REPORT-101483 【版本管理二期】数据迁移提示的弹窗以设备中央为准
release/11.0
parent
commit
370b371a0e
  1. 2
      designer-base/src/main/java/com/fr/design/mainframe/vcs/VcsConfigManager.java
  2. 2
      designer-base/src/main/java/com/fr/design/mainframe/vcs/ui/VcsMovePanel.java

2
designer-base/src/main/java/com/fr/design/mainframe/vcs/VcsConfigManager.java

@ -81,7 +81,7 @@ public class VcsConfigManager implements XMLReadable, XMLWriter {
this.setUseInterval(reader.getAttrAsBoolean("useInterval", true));
this.setVcsEnable(reader.getAttrAsBoolean("vcsEnable", true));
this.setAutoSaveInterval(reader.getAttrAsInt("autoSaveInterval", 15));
this.setUseAutoSave(reader.getAttrAsBoolean("useAutoSave", false));
this.setUseAutoSave(reader.getAttrAsBoolean("useAutoSave", true));
}
}

2
designer-base/src/main/java/com/fr/design/mainframe/vcs/ui/VcsMovePanel.java

@ -307,7 +307,7 @@ public class VcsMovePanel extends BasicPane {
panel.add(titleLabel);
panel.add(firstLabel);
panel.add(secondLabel);
int value = FineJOptionPane.showConfirmDialog(DesignerContext.getDesignerFrame(), panel, Toolkit.i18nText("Fine-Design_Vcs_Move_Title"), JOptionPane.YES_NO_OPTION);
int value = FineJOptionPane.showConfirmDialog(SwingUtilities.getWindowAncestor(DesignerContext.getDesignerFrame()), panel, Toolkit.i18nText("Fine-Design_Vcs_Move_Title"), JOptionPane.YES_NO_OPTION);
processMove(value);
}

Loading…
Cancel
Save