Browse Source

代码质量

master
XiaXiang 8 years ago
parent
commit
08f34726a0
  1. 3
      designer/src/com/fr/design/mainframe/alphafine/search/manager/ActionSearchManager.java

3
designer/src/com/fr/design/mainframe/alphafine/search/manager/ActionSearchManager.java

@ -49,13 +49,12 @@ public class ActionSearchManager implements AlphaFineSearchProcessor {
for (int i = length; i < filterModelList.size(); i++) { for (int i = length; i < filterModelList.size(); i++) {
moreModelList.add(filterModelList.get(i)); moreModelList.add(filterModelList.get(i));
} }
if (filterModelList.size() > 0) {
if (filterModelList.size() > AlphaFineConstants.SHOW_SIZE) { if (filterModelList.size() > AlphaFineConstants.SHOW_SIZE) {
lessModelList.add(0, new MoreModel(Inter.getLocText("FR-Designer_Set"), Inter.getLocText("FR-Designer_AlphaFine_ShowAll"),true, CellType.ACTION)); lessModelList.add(0, new MoreModel(Inter.getLocText("FR-Designer_Set"), Inter.getLocText("FR-Designer_AlphaFine_ShowAll"),true, CellType.ACTION));
} else { } else {
lessModelList.add(0, new MoreModel(Inter.getLocText("FR-Designer_Set"), CellType.ACTION)); lessModelList.add(0, new MoreModel(Inter.getLocText("FR-Designer_Set"), CellType.ACTION));
} }
}
} }
} }

Loading…
Cancel
Save