XiaXiang 7 years ago
parent
commit
0e7b04fe83
  1. 8
      designer_base/src/com/fr/design/actions/UpdateAction.java

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

@ -504,10 +504,10 @@ 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 object = ((JComboBox) component).getItemAt(i); Object componentName = ((JComboBox) component).getItemAt(i);
if (object instanceof String) { if (componentName instanceof String) {
text.append(object); text.append(componentName);
String title = (String) object; String title = (String) componentName;
handleSearchText(separator, text, pinyin, shortPinyin, title); handleSearchText(separator, text, pinyin, shortPinyin, title);
} }
} }

Loading…
Cancel
Save