From 3e0f3cf8bdfca79201b02f993988dc5ebcd22338 Mon Sep 17 00:00:00 2001 From: Fangjie Hu Date: Wed, 23 Nov 2016 09:42:25 +0800 Subject: [PATCH] update --- .../com/fr/design/mainframe/chart/gui/ChartTypeButtonPane.java | 3 --- 1 file changed, 3 deletions(-) diff --git a/designer_chart/src/com/fr/design/mainframe/chart/gui/ChartTypeButtonPane.java b/designer_chart/src/com/fr/design/mainframe/chart/gui/ChartTypeButtonPane.java index de88d2ba6..e7e283ebe 100644 --- a/designer_chart/src/com/fr/design/mainframe/chart/gui/ChartTypeButtonPane.java +++ b/designer_chart/src/com/fr/design/mainframe/chart/gui/ChartTypeButtonPane.java @@ -446,9 +446,6 @@ public class ChartTypeButtonPane extends BasicBeanPane implemen for (int i = 0; i < count; i++) { if (ComparatorUtils.equals(getButtonName(), editingCollection.getChartName(i))) { editingCollection.removeNameObject(i); - /*if (i <= editingCollection.getSelectedIndex()){ - editingCollection.setSelectedIndex(editingCollection.getSelectedIndex()-1); - }*/ break; } }