Browse Source

Merge pull request #1248 in DESIGN/design from ~HUGH.C/design:final/10.0 to final/10.0

* commit '8208831c2c47974efb6da1e588d9c3cf7a218e16':
  REPORT-23570 模版版本管理,gc为负数时应当提示“无可优化文件”
final/10.0
Kara 5 years ago
parent
commit
fe025732aa
  1. 2
      designer-base/src/main/java/com/fr/design/actions/file/PreferencePane.java

2
designer-base/src/main/java/com/fr/design/actions/file/PreferencePane.java

@ -883,7 +883,7 @@ public class PreferencePane extends BasicPane {
} catch (InterruptedException e) {
FineLoggerFactory.getLogger().error(e, e.getMessage());
}
updateGcDialogPanelInfo(i18nText("Fine-Design_Vcs_Reduce_File_Size") + fileSizeConvert(size));
updateGcDialogPanelInfo(size <= 0 ? i18nText("Fine-Design_Vcs_No_Optimizable_File") : i18nText("Fine-Design_Vcs_Reduce_File_Size") + fileSizeConvert(size));
gcDialogDownPane.revalidate();
gcDialogDownPane.repaint();
gcDialogDownPane.add(gcOkButton);

Loading…
Cancel
Save