Browse Source

Pull request #3049: REPORT-42381 删除tab页之后选中body布局

Merge in DESIGN/design from ~YUAN.WANG/design:release/10.0 to release/10.0

* commit 'f86669c5a33f9f2052d0bbbfba4d4d8cd76ea3ad':
  REPORT-42381 删除tab页之后选中body布局
feature/big-screen
Yuan.Wang 4 years ago
parent
commit
da5da7fc4d
  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