Browse Source

Merge pull request #3053 in DESIGN/design from bugfix/10.0 to feature/10.0

* commit 'a19442484eec90ffab5f711a60c5fa0f0d232251':
  REPORT-42381 删除tab页之后选中body布局
research/11.0
superman 4 years ago
parent
commit
f698d75725
  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; return;
} }
deleteCard(this, index); deleteCard(this, index);
selectionModel.setSelectedCreator(designer.getRootComponent());
designer.fireTargetModified(); designer.fireTargetModified();
LayoutUtils.layoutRootContainer(designer.getRootComponent()); LayoutUtils.layoutRootContainer(designer.getRootComponent());
FormHierarchyTreePane.getInstance().refreshRoot(); FormHierarchyTreePane.getInstance().refreshRoot();

Loading…
Cancel
Save