Browse Source

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

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

* commit 'ef17b29ef7756e1ec34cf31077dd580668db8792':
  REPORT-57568 解决目录树展开收起触发打开模板的逻辑
fix-lag
Tommy 3 years ago
parent
commit
71e98c7b14
  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

@ -93,7 +93,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