Browse Source

REPORT-62088 来回切换两个单元格及其的排序按钮,几十次后,排序按钮点击

zheng-1641779399395
Henry.Wang 3 years ago
parent
commit
90505e143d
  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