Browse Source

Pull request #6645: REPORT-62088 来回切换两个单元格及其的排序按钮,几十次后,点击排序按钮时出现明显卡顿

Merge in DESIGN/design from ~HENRY.WANG/design:release/10.0 to release/10.0

* commit 'af7313ee94113d290c61c42eb54cb0517ddbd69d':
  REPORT-62088 来回切换两个单元格及其的排序按钮,几十次后,排序按钮点击
zheng-1641779399395
Henry.Wang 3 years ago
parent
commit
b29fc795a1
  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
*/
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