Browse Source

REPORT-42470 调整下位置 保证原顺序不变

final/10.0
hades 4 years ago
parent
commit
ea78749631
  1. 3
      designer-realize/src/main/java/com/fr/design/mainframe/JWorkBook.java

3
designer-realize/src/main/java/com/fr/design/mainframe/JWorkBook.java

@ -760,13 +760,14 @@ public class JWorkBook extends JTemplate<WorkBook, WorkBookUndoState> {
if (hasParameterPane()) { if (hasParameterPane()) {
parameterPane.populate(u.getApplyTarget()); parameterPane.populate(u.getApplyTarget());
setAutoHeightForCenterPane(); setAutoHeightForCenterPane();
reportComposite.setSelectedIndex(u.getSelectedReportIndex());
DesignModuleFactory.getFormHierarchyPane().refreshRoot(); DesignModuleFactory.getFormHierarchyPane().refreshRoot();
} }
} else { } else {
reportComposite.setSelectedIndex(u.getSelectedReportIndex());
u.getSelectedEditingState().revert(); u.getSelectedEditingState().revert();
TableDataTreePane.getInstance(DesignModelAdapter.getCurrentModelAdapter()).refreshDockingView(); TableDataTreePane.getInstance(DesignModelAdapter.getCurrentModelAdapter()).refreshDockingView();
} }
reportComposite.setSelectedIndex(u.getSelectedReportIndex());
this.undoState = u; this.undoState = u;
} else { } else {
//参数面板 //参数面板

Loading…
Cancel
Save