Browse Source

REPORT-23570 模版版本管理,gc为负数时应当提示“无可优化文件”

final/10.0
Hugh.C 5 years ago
parent
commit
8208831c2c
  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) { } catch (InterruptedException e) {
FineLoggerFactory.getLogger().error(e, e.getMessage()); 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.revalidate();
gcDialogDownPane.repaint(); gcDialogDownPane.repaint();
gcDialogDownPane.add(gcOkButton); gcDialogDownPane.add(gcOkButton);

Loading…
Cancel
Save