Browse Source

Merge pull request #3052 in DESIGN/design from release/10.0 to bugfix/10.0

* commit 'da5da7fc4d7a0e79c9b1d4f163239eea47699df0':
  REPORT-42381 删除tab页之后选中body布局
bugfix/10.0
superman 4 years ago
parent
commit
a19442484e
  1. 1
      designer-form/src/main/java/com/fr/design/designer/creator/cardlayout/XCardSwitchButton.java

1
designer-form/src/main/java/com/fr/design/designer/creator/cardlayout/XCardSwitchButton.java

@ -160,6 +160,7 @@ public class XCardSwitchButton extends XButton {
return;
}
deleteCard(this, index);
selectionModel.setSelectedCreator(designer.getRootComponent());
designer.fireTargetModified();
LayoutUtils.layoutRootContainer(designer.getRootComponent());
FormHierarchyTreePane.getInstance().refreshRoot();

Loading…
Cancel
Save