Browse Source

REPORT-6626 绝对布局下组件复制粘贴后属性设置有问题

master
plough 7 years ago
parent
commit
24002f13cc
  1. 2
      designer-form/src/com/fr/design/mainframe/JForm.java

2
designer-form/src/com/fr/design/mainframe/JForm.java

@ -267,7 +267,7 @@ public class JForm extends JTemplate<Form, FormUndoState> implements BaseJForm {
} else if (evt.getCreatorEventID() == DesignerEvent.CREATOR_DELETED) {
// 在 delete 之前,会先 select 父组件。这里直接传入 lastAffectedCreator 就好了
setPropertyPaneChange(lastAffectedCreator);
} else if (evt.getCreatorEventID() == DesignerEvent.CREATOR_SELECTED) {
} else if (evt.getCreatorEventID() == DesignerEvent.CREATOR_SELECTED || evt.getCreatorEventID() == DesignerEvent.CREATOR_EDITED) {
lastAffectedCreator = evt.getAffectedCreator();
setPropertyPaneChange(lastAffectedCreator);
}

Loading…
Cancel
Save