Browse Source

Merge pull request #503 in BA/design from ~ZHENG/design:release to release

* commit '76a69cd25e8047629d15d424bc5c20654f22998b':
  populate之前init面板让组件没有listener。typepane先和stylepane逻辑统一,dev里面我不init面板,只是把所有listener remove掉,这样比较合理
master
superman 8 years ago
parent
commit
855efb8029
  1. 4
      designer_chart/src/com/fr/design/mainframe/chart/gui/ChartTypePane.java

4
designer_chart/src/com/fr/design/mainframe/chart/gui/ChartTypePane.java

@ -300,8 +300,12 @@ public class ChartTypePane extends AbstractChartAttrPane{
*/
public void populate(ChartCollection collection) {
Chart chart = collection.getSelectedChart();
this.remove(leftContentPane);
initContentPane();
this.removeAttributeChangeListener();
buttonPane.populateBean(collection);
chartTypePane.populateBean(chart);
this.initAllListeners();
}
/**

Loading…
Cancel
Save