Browse Source

Merge pull request #1463 in DESIGN/design from ~ZHENG/c-design:release/10.0 to release/10.0

* commit '79c6aaf8a488a7286e7df2b8ea80490184295fe3':
  CHART-12810 //删除的tab非选中状态, 原为选中状态的tab保持选中不变
feature/big-screen
zheng 5 years ago
parent
commit
5ca5b0e253
  1. 7
      designer-chart/src/main/java/com/fr/design/mainframe/chart/gui/ChartTypeButtonPane.java

7
designer-chart/src/main/java/com/fr/design/mainframe/chart/gui/ChartTypeButtonPane.java

@ -503,6 +503,13 @@ public class ChartTypeButtonPane extends BasicBeanPane<ChartCollection> implemen
if (this.isSelected()) {
indexList.get(0).setSelected(true);
changeCollectionSelected(indexList.get(0).getButtonName());
} else {//删除的tab非选中状态, 原为选中状态的tab保持选中不变
for (ChartChangeButton button : indexList) {
if (button.isSelected()) {
changeCollectionSelected(button.getButtonName());
break;
}
}
}
}

Loading…
Cancel
Save