Browse Source

Merge pull request #5719 in DESIGN/design from release/10.0 to bugfix/10.0

* commit '8ed8d12424f99e3077ef5fd83fe12f4ea471705f':
  REPORT-58533 附件模板中报表块无法进入编辑
bugfix/10.0
superman 3 years ago
parent
commit
39a83a802c
  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