Browse Source

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

zheng-1641779399395
kuangshuai 3 years ago
parent
commit
bbef610501
  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