Browse Source

代码修改

research/11.0
kerry 4 years ago
parent
commit
46748da53f
  1. 2
      designer-base/src/main/java/com/fr/design/mainframe/predefined/ui/detail/CellStyleSettingPane.java

2
designer-base/src/main/java/com/fr/design/mainframe/predefined/ui/detail/CellStyleSettingPane.java

@ -274,7 +274,7 @@ public class CellStyleSettingPane extends BasicBeanPane<StyleMap> {
public void removeStyle() { public void removeStyle() {
int selectIndex = styleList.getSelectedIndex(); int selectIndex = styleList.getSelectedIndex();
styleList.remove(selectIndex); defaultListModel.remove(selectIndex);
centerPane.remove(customStylePaneList.get(selectIndex)); centerPane.remove(customStylePaneList.get(selectIndex));
customStylePaneList.remove(selectIndex); customStylePaneList.remove(selectIndex);
reset(); reset();

Loading…
Cancel
Save