XiaXiang 7 years ago
parent
commit
f577a58d19
  1. 2
      designer_base/src/com/fr/design/actions/UpdateAction.java

2
designer_base/src/com/fr/design/actions/UpdateAction.java

@ -505,7 +505,7 @@ public abstract class UpdateAction extends ShortCut implements Action {
} else if (component instanceof JComboBox) { } else if (component instanceof JComboBox) {
for (int i = 0; i < ((JComboBox) component).getItemCount(); i++) { for (int i = 0; i < ((JComboBox) component).getItemCount(); i++) {
Object componentName = ((JComboBox) component).getItemAt(i); Object componentName = ((JComboBox) component).getItemAt(i);
if (componentName instanceof String) { if (componentName instanceof String && StringUtils.isNotBlank(String.valueOf(componentName))) {
text.append(componentName); text.append(componentName);
String title = (String) componentName; String title = (String) componentName;
handleSearchText(separator, text, pinyin, shortPinyin, title); handleSearchText(separator, text, pinyin, shortPinyin, title);

Loading…
Cancel
Save