Browse Source

REPORT-40606 【回归测试】表单模板如果未选择组件进行多次拖动,再切换模板就不行了,报错

feature/big-screen
pengda 4 years ago
parent
commit
f091351eb6
  1. 2
      designer-form/src/main/java/com/fr/design/mainframe/FormDesigner.java

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

@ -1350,7 +1350,7 @@ public class FormDesigner extends TargetComponent<Form> implements TreeSelection
// 当前选中控件可以下移一层吗?
public boolean isCurrentComponentMovableDown() {
XCreator creator = getSelectionModel().getSelection().getSelectedCreator();
if (creator == null) {
if (null == creator) {
return false;
}
XLayoutContainer container = (XLayoutContainer) creator.getParent();

Loading…
Cancel
Save