Browse Source

Pull request #7003: REPORT-63729 填报-控件-控件数据字典设置显示值为公式时,公式界面关几次才关得掉

Merge in DESIGN/design from ~FANGLEI/design:final/11.0 to final/11.0

* commit 'f7b1fd6f1945bb6f55ab23f3a83ae2e61d4d6cd0':
  REPORT-63729 填报-控件-控件数据字典设置显示值为公式时,公式界面关几次才关得掉
new-design
fanglei 3 years ago
parent
commit
5c79b710d2
  1. 4
      designer-base/src/main/java/com/fr/design/gui/ibutton/UIButtonGroup.java

4
designer-base/src/main/java/com/fr/design/gui/ibutton/UIButtonGroup.java

@ -389,9 +389,9 @@ public class UIButtonGroup<T> extends JPanel implements GlobalNameObserver, UIOb
* @param l
*/
public void addChangeListener(ChangeListener l) {
listenerList.add(ChangeListener.class, l);
for (int i = 0; i < labelButtonList.size(); i++) {
labelButtonList.get(i).addChangeListener(l);
listenerList.add(ChangeListener.class, l);
}
}
@ -399,9 +399,9 @@ public class UIButtonGroup<T> extends JPanel implements GlobalNameObserver, UIOb
* @param l
*/
public void removeChangeListener(ChangeListener l) {
listenerList.remove(ChangeListener.class, l);
for (int i = 0; i < labelButtonList.size(); i++) {
labelButtonList.get(i).removeChangeListener(l);
listenerList.remove(ChangeListener.class, l);
}
}

Loading…
Cancel
Save