Browse Source

Merge pull request #1263 in BA/design from ~PLOUGH/design:release/9.0 to release/9.0

* commit '358cef7cdae3e7d7c2f90a6c2007e24d814a4d03':
  REPORT-4684 进入权限编辑后,对参数面板控件进行编辑,退出权限编辑后,控件属性面板空白
master
superman 7 years ago
parent
commit
23efa423c7
  1. 9
      designer/src/com/fr/design/mainframe/JWorkBook.java

9
designer/src/com/fr/design/mainframe/JWorkBook.java

@ -114,10 +114,13 @@ public class JWorkBook extends JTemplate<WorkBook, WorkBookUndoState> {
if (isEditingPolySheet()) {
EastRegionContainerPane.getInstance().switchMode(EastRegionContainerPane.PropertyMode.POLY);
} else {
EastRegionContainerPane.getInstance().switchMode(EastRegionContainerPane.PropertyMode.REPORT);
EastRegionContainerPane.getInstance().replaceCellElementPane(getEastUpPane());
EastRegionContainerPane.getInstance().replaceCellAttrPane(getEastDownPane());
if (isUpMode()) {
EastRegionContainerPane.getInstance().switchMode(EastRegionContainerPane.PropertyMode.REPORT_PARA);
} else {
EastRegionContainerPane.getInstance().switchMode(EastRegionContainerPane.PropertyMode.REPORT);
}
}
refreshToolArea();
}
private boolean isEditingPolySheet() {

Loading…
Cancel
Save