Browse Source

update

master
Fangjie Hu 8 years ago
parent
commit
05b2e143d0
  1. 3
      designer_chart/src/com/fr/design/mainframe/chart/gui/ChartTypePane.java

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

@ -167,7 +167,6 @@ public class ChartTypePane extends AbstractChartAttrPane{
//重构需要重构下拉框选项和cardNames
Chart chart = collection.getSelectedChart();
String chartID = chart.getChartID();
String plotID = chart.getPlot().getPlotID();
if (collection.getState() == SwitchState.DEFAULT){
chartID = StringUtils.EMPTY;
}
@ -181,6 +180,8 @@ public class ChartTypePane extends AbstractChartAttrPane{
fcb.addItem(cardNames[i]);
}
//重新选择选中的下拉项
chartID = chart.getChartID();
String plotID = chart.getPlot().getPlotID();
Object item = ChartTypeInterfaceManager.getInstance().getTitle4PopupWindow(chartID, plotID);
jcb.setSelectedItem(item);
fcb.setItemEvenType(ItemEventType.DEFAULT);

Loading…
Cancel
Save