Browse Source

Merge pull request #5720 in DESIGN/design from bugfix/10.0 to feature/10.0

* commit '39a83a802c13d8ffe2bcf49a0b37bbabfff2c7e0':
  REPORT-58533 附件模板中报表块无法进入编辑
feature/10.0
superman 3 years ago
parent
commit
0cc49b9681
  1. 3
      designer-form/src/main/java/com/fr/design/designer/creator/XElementCase.java

3
designer-form/src/main/java/com/fr/design/designer/creator/XElementCase.java

@ -321,9 +321,8 @@ public class XElementCase extends XBorderStyleWidgetCreator implements FormEleme
FormDesigner designer = editingMouseListener.getDesigner(); FormDesigner designer = editingMouseListener.getDesigner();
if (e.getButton() == MouseEvent.BUTTON1 && if (e.getButton() == MouseEvent.BUTTON1 &&
(e.getClickCount() == 2 || designer.getCursor().getType() == Cursor.HAND_CURSOR)) { (e.getClickCount() == 2 || designer.getCursor().getType() == Cursor.HAND_CURSOR)) {
FormElementCaseContainerProvider component = (FormElementCaseContainerProvider) designer.getComponentAt(e);
//切换设计器 //切换设计器
designer.switchTab(component); designer.switchTab(this);
} }
} }

Loading…
Cancel
Save