Browse Source

Merge pull request #6662 in DESIGN/design from release/10.0 to bugfix/10.0

* commit 'b29fc795a1afcbad129450d321161f6323f3afe2':
  REPORT-62088 来回切换两个单元格及其的排序按钮,几十次后,排序按钮点击
bugfix/10.0
superman 3 years ago
parent
commit
042fcc8294
  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