Browse Source

Merge pull request #6669 in DESIGN/design from feature/10.0 to research/10.0

* commit '6a6558b64326a7cdc373a8570b24bc808c6e38cb':
  REPORT-62088 来回切换两个单元格及其的排序按钮,几十次后,排序按钮点击
research/10.0
superman 3 years ago
parent
commit
b02c6b0beb
  1. 5
      designer-base/src/main/java/com/fr/design/gui/ibutton/UIButtonGroup.java

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

@ -379,7 +379,10 @@ public class UIButtonGroup<T> extends JPanel implements GlobalNameObserver {
* @param l * @param l
*/ */
public void removeChangeListener(ChangeListener l) { public void removeChangeListener(ChangeListener l) {
this.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