Browse Source

REPORT-114161 控件扩展样式—图文按钮新增的图标格没有默认选中

feature/x
lixing 9 months ago
parent
commit
266b9b48ab
  1. 2
      designer-base/src/main/java/com/fr/design/mainframe/mobile/ui/radiogroup/IconConfigPane.java

2
designer-base/src/main/java/com/fr/design/mainframe/mobile/ui/radiogroup/IconConfigPane.java

@ -74,6 +74,8 @@ public class IconConfigPane extends JPanel {
public void addCount() {
deleteCountButton.setEnabled(true);
IconButton iconButton = new IconButton("");
selectIconButton = iconButton;
editIconButton.setEnabled(true);
iconButtons.add(iconButton);
int indexToInsert = northPane.getComponentCount() - 2;
deleteCountButton.setEnabled(!iconButtons.isEmpty());

Loading…
Cancel
Save