Browse Source

Pull request #2190: REPORT-35386 多个tab进行撤销,会撤销两个tab

Merge in DESIGN/design from ~PENGDA/design:release/10.0 to release/10.0

* commit 'f6f6a11eaed640add7d171cf4e40d65d7c550304':
  REPORT-35386 多个tab进行撤销,会撤销两个tab
feature/big-screen
pengda 4 years ago
parent
commit
7c92eb663d
  1. 3
      designer-form/src/main/java/com/fr/design/designer/creator/cardlayout/XCardAddButton.java

3
designer-form/src/main/java/com/fr/design/designer/creator/cardlayout/XCardAddButton.java

@ -86,7 +86,6 @@ public class XCardAddButton extends XButton {
@Override
public void respondClick(EditingMouseListener editingMouseListener, MouseEvent e){
FormDesigner designer = editingMouseListener.getDesigner();
designer.fireTargetModified();
// addbutton对应的XWCardLayout和XWCardTagLayout暂未存入到xml中,重新打开之后先根据父子层获取
if(cardLayout == null && tagLayout ==null ){
@ -112,6 +111,8 @@ public class XCardAddButton extends XButton {
showNewTab(editingMouseListener,index);
tagLayout.setTabsAndAdjust();
LayoutUtils.layoutRootContainer(designer.getRootComponent());
designer.fireTargetModified();
}
@Override

Loading…
Cancel
Save