|
|
@ -626,8 +626,12 @@ public class JForm extends JTemplate<Form, FormUndoState> implements BaseJForm<F |
|
|
|
refreshToolArea(); |
|
|
|
refreshToolArea(); |
|
|
|
// 停止编辑 恢复浮层展示
|
|
|
|
// 停止编辑 恢复浮层展示
|
|
|
|
TreePath[] treePaths = FormHierarchyTreePane.getInstance(formDesign).getComponentTree().getSelectedTreePath(); |
|
|
|
TreePath[] treePaths = FormHierarchyTreePane.getInstance(formDesign).getComponentTree().getSelectedTreePath(); |
|
|
|
for (TreePath path : treePaths) { |
|
|
|
if (treePaths != null) { |
|
|
|
formDesign.stopEditing(path); |
|
|
|
for (TreePath path : treePaths) { |
|
|
|
|
|
|
|
if (path != null) { |
|
|
|
|
|
|
|
formDesign.stopEditing(path); |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} else { |
|
|
|
} else { |
|
|
|
// 只在报表块里撤销是不需要修改外部form对象的, 因为编辑的是当前报表块.
|
|
|
|
// 只在报表块里撤销是不需要修改外部form对象的, 因为编辑的是当前报表块.
|
|
|
|