|
|
|
@ -814,7 +814,7 @@ public class JWorkBook extends JTemplate<WorkBook, WorkBookUndoState> {
|
|
|
|
|
} |
|
|
|
|
reportComposite.setSelectedIndex(u.getSelectedReportIndex()); |
|
|
|
|
u.getSelectedEditingState().revert(); |
|
|
|
|
TableDataTreePane.getInstance(DesignModelAdapter.getCurrentModelAdapter()).refreshDockingView(); |
|
|
|
|
TableDataTreePane.getInstanceWithoutRefreshEverytime(DesignModelAdapter.getCurrentModelAdapter()).refreshDockingView(); |
|
|
|
|
} |
|
|
|
|
this.undoState = u; |
|
|
|
|
} else { |
|
|
|
@ -1319,7 +1319,7 @@ public class JWorkBook extends JTemplate<WorkBook, WorkBookUndoState> {
|
|
|
|
|
if (HistoryTemplateListCache.getInstance().getCurrentEditingTemplate() == this) { |
|
|
|
|
fireTargetModified(shouldCreateUndoState); |
|
|
|
|
reportComposite.setSelectedIndex(reportComposite.getSelectedIndex()); |
|
|
|
|
TableDataTreePane.getInstance(DesignModelAdapter.getCurrentModelAdapter()).refreshDockingView(); |
|
|
|
|
TableDataTreePane.getInstanceWithoutRefreshEverytime(DesignModelAdapter.getCurrentModelAdapter()).refreshDockingView(); |
|
|
|
|
DesignerContext.getDesignerFrame().resetToolkitByPlus(HistoryTemplateListPane.getInstance().getCurrentEditingTemplate()); |
|
|
|
|
// 刷新参数面板界面
|
|
|
|
|
populateReportParameterAttr(); |
|
|
|
|