Browse Source

Merge pull request #6667 in DESIGN/design from release/10.0 to release/11.0

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

@ -399,7 +399,10 @@ public class UIButtonGroup<T> extends JPanel implements GlobalNameObserver, UIOb
* @param 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