|
|
|
@ -64,7 +64,6 @@ public class HistoryTemplateListCache implements CallbackEvent {
|
|
|
|
|
* @param selected 选择的 |
|
|
|
|
*/ |
|
|
|
|
public void closeSelectedReport(JTemplate<?, ?> selected) { |
|
|
|
|
DesignModuleFactory.clearChartPropertyPane(); |
|
|
|
|
DesignTableDataManager.closeTemplate(selected); |
|
|
|
|
//直接关闭模板的时候(当且仅当设计器tab上只剩一个模板)退出权限编辑
|
|
|
|
|
if (DesignModeContext.isAuthorityEditing() && historyList.size() <= 1) { |
|
|
|
@ -92,7 +91,6 @@ public class HistoryTemplateListCache implements CallbackEvent {
|
|
|
|
|
* @param selected 选择的 |
|
|
|
|
*/ |
|
|
|
|
public void closeVirtualSelectedReport(JTemplate<?, ?> selected) { |
|
|
|
|
DesignModuleFactory.clearChartPropertyPane(); |
|
|
|
|
DesignTableDataManager.closeTemplate(selected); |
|
|
|
|
if (contains(selected) == -1) { |
|
|
|
|
return; |
|
|
|
|