Browse Source

Merge pull request #5725 in DESIGN/design from feature/10.0 to feature/big-screen

* commit '0cc49b968106b3260c895958197d409be2ab1427':
  REPORT-58533 附件模板中报表块无法进入编辑
feature/big-screen
superman 3 years ago
parent
commit
823d91d51a
  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