Browse Source

update

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

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

@ -446,9 +446,6 @@ public class ChartTypeButtonPane extends BasicBeanPane<ChartCollection> implemen
for (int i = 0; i < count; i++) { for (int i = 0; i < count; i++) {
if (ComparatorUtils.equals(getButtonName(), editingCollection.getChartName(i))) { if (ComparatorUtils.equals(getButtonName(), editingCollection.getChartName(i))) {
editingCollection.removeNameObject(i); editingCollection.removeNameObject(i);
/*if (i <= editingCollection.getSelectedIndex()){
editingCollection.setSelectedIndex(editingCollection.getSelectedIndex()-1);
}*/
break; break;
} }
} }

Loading…
Cancel
Save