Browse Source

REPORT-134365 fix: 模板目录树选中打开逻辑优化

fbp/release
Levy.Xie-解安森 3 months ago
parent
commit
c685577767
  1. 4
      designer-base/src/main/java/com/fr/design/file/TemplateTreePane.java

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

@ -3,7 +3,6 @@
*/
package com.fr.design.file;
import com.fr.base.FRContext;
import com.fr.design.ExtraDesignClassManager;
import com.fr.design.cache.DesignCacheManager;
import com.fr.design.dialog.FineJOptionPane;
@ -35,7 +34,6 @@ import com.fr.stable.StableUtils;
import com.fr.stable.project.ProjectConstants;
import com.fr.workspace.WorkContext;
import com.fr.report.lock.LockInfoOperator;
import java.util.UUID;
import javax.swing.JOptionPane;
import javax.swing.JPanel;
@ -112,7 +110,7 @@ public class TemplateTreePane extends JPanel implements FileOperations {
@Override
public void mousePressed(MouseEvent evt) {
if (reportletsTree.getPathForLocation(evt.getX(), evt.getY()) != null && evt.getClickCount() == 2) {
if (evt.getClickCount() == 2) {
DesignCacheManager.processByCacheTableData(() -> openFile());
}
}

Loading…
Cancel
Save