Browse Source

Merge pull request #419 in BA/design from ~ZHENG/design:dev to dev

* commit '2809b0d3931a17cb7f21e5850df936df3e49a8e0':
  mapMapCustomPane refresh areaname list
master
superman 8 years ago
parent
commit
876f663d9c
  1. 7
      designer_chart/src/com/fr/design/chart/series/PlotSeries/MapCustomPane.java

7
designer_chart/src/com/fr/design/chart/series/PlotSeries/MapCustomPane.java

@ -166,8 +166,13 @@ refreshAreaNameBox();
}
List<String> columnNameList = tableDataWrappe.calculateColumnNameList();
Object oldSelected = areaString.getSelectedItem();
areaString.removeAllItems();
areaString.setItemList(columnNameList);
for(String item : columnNameList) {
areaString.addItem(item);
}
areaString.getModel().setSelectedItem(oldSelected);
}
/**

Loading…
Cancel
Save