Browse Source

Pull request #5529: REPORT-57568 解决目录树展开收起触发打开模板的逻辑

Merge in DESIGN/design from ~TOMMY/design:release/10.0 to release/10.0

* commit 'bbef610501613c581cce192a06821e4f5df649c4':
  REPORT-57568 解决目录树展开收起触发打开模板的逻辑
zheng-1641779399395
Tommy 3 years ago
parent
commit
ceeb3e06f0
  1. 2
      designer-base/src/main/java/com/fr/design/file/TemplateTreePane.java

2
designer-base/src/main/java/com/fr/design/file/TemplateTreePane.java

@ -83,7 +83,7 @@ public class TemplateTreePane extends JPanel implements FileOperations {
@Override
public void mousePressed(MouseEvent evt) {
if (evt.getClickCount() == 2) {
if (reportletsTree.getPathForLocation(evt.getX(), evt.getY()) != null && evt.getClickCount() == 2) {
openFile();
}
}

Loading…
Cancel
Save