@ -275,8 +275,9 @@ public class ChartTypeButtonPane extends BasicBeanPane<ChartCollection> implemen
break;
}
if (editChartType != null) {
editChartType.populateBean(editingCollection.getSelectedChart());
//切换时重新更新整个面板
if (parent != null) {
parent.populate(editingCollection);
@ -304,7 +304,7 @@ public class ChartTypePane extends AbstractChartAttrPane{
Chart chart = collection.getSelectedChart();
this.remove(leftContentPane);
initContentPane();
this.removeAttributeChangeListener();
buttonPane.populateBean(collection);
chartTypePane.populateBean(chart);
//remove面板之后,就需要重构下拉框