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

Loading…
Cancel
Save