diff --git a/designer-base/src/main/java/com/fr/design/mainframe/predefined/ui/detail/CellStyleSettingPane.java b/designer-base/src/main/java/com/fr/design/mainframe/predefined/ui/detail/CellStyleSettingPane.java index b0b094d27..f5f320942 100644 --- a/designer-base/src/main/java/com/fr/design/mainframe/predefined/ui/detail/CellStyleSettingPane.java +++ b/designer-base/src/main/java/com/fr/design/mainframe/predefined/ui/detail/CellStyleSettingPane.java @@ -274,7 +274,7 @@ public class CellStyleSettingPane extends BasicBeanPane { public void removeStyle() { int selectIndex = styleList.getSelectedIndex(); - styleList.remove(selectIndex); + defaultListModel.remove(selectIndex); centerPane.remove(customStylePaneList.get(selectIndex)); customStylePaneList.remove(selectIndex); reset();