Browse Source

REPORT-63499 按钮控件树节点配置控件事件,设计器上显示有问题

zheng-1641779399395
方磊 3 years ago
parent
commit
c19bb8edeb
  1. 5
      designer-base/src/main/java/com/fr/design/gui/controlpane/UIListGroupControlPane.java

5
designer-base/src/main/java/com/fr/design/gui/controlpane/UIListGroupControlPane.java

@ -122,10 +122,11 @@ public abstract class UIListGroupControlPane extends UIControlPane implements Li
protected void populateNameObjects(Widget widget) {
ArrayList<NameObject> nameObjectList = new ArrayList<>();
for (int i = 0, size = widget.getListenerSize(); i < size; i++) {
for (int i = 0, j = 0, size = widget.getListenerSize(); i < size; i++) {
Listener listener = widget.getListener(i);
if (!listener.isDefault()) {
nameObjectList.add(i, new NameObject(switchLang(listener.getEventName()) + (i + 1), listener));
nameObjectList.add(j, new NameObject(switchLang(listener.getEventName()) + (j + 1), listener));
j++;
}
}
populate(getHelper().processCatalog(nameObjectList));

Loading…
Cancel
Save