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

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

@ -506,17 +506,16 @@ public abstract class UpdateAction extends ShortCut implements Action {
for (int i = 0; i < ((JComboBox) component).getItemCount(); i++) {
Object object = ((JComboBox) component).getItemAt(i);
if (object instanceof String) {
text.append(((JComboBox) component).getItemAt(i));
String title = String.valueOf(((JComboBox) component).getItemAt(i));
text.append(object);
String title = (String) object;
handleSearchText(separator, text, pinyin, shortPinyin, title);
}
}
} else if (component instanceof JTabbedPane) {
getTabPaneTexts((JTabbedPane) component, separator, text, pinyin, shortPinyin);
}
}
panel.removeAll();
return String.valueOf(text.append(pinyin).append(shortPinyin));
}

Loading…
Cancel
Save