Browse Source

Pull request #7268: CHART-22090 fix: 悬浮窗图表-条件属性-颜色控件残留

Merge in DESIGN/design from ~ZHENG/c-design:release/10.0 to release/10.0

* commit '8638c51f4ce98c08d66b9ad59c944c822b54359c':
  update
  CHART-22090 条件属性-颜色控件残留
zheng-1641779399395
zheng 3 years ago
parent
commit
dfb980e52c
  1. 11
      designer-chart/src/main/java/com/fr/van/chart/designer/component/VanChartUIListControlPane.java

11
designer-chart/src/main/java/com/fr/van/chart/designer/component/VanChartUIListControlPane.java

@ -25,6 +25,7 @@ import java.awt.BorderLayout;
import java.awt.Component;
import java.awt.FlowLayout;
import java.awt.Point;
import java.awt.Window;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
@ -210,6 +211,16 @@ public abstract class VanChartUIListControlPane extends UIListControlPane implem
public void doCancel() {
setVisible(false);
}
@Override
public void setVisible(boolean b) {
super.setVisible(b);
//把一些可能没隐藏的子弹框隐藏 比如 边框-颜色弹框
for (Window window : getOwnedWindows()) {
window.setVisible(false);
}
}
}
}

Loading…
Cancel
Save