From f57e804602c666e5f3e9e2df5b8970e4e7649c71 Mon Sep 17 00:00:00 2001 From: kuangshuai Date: Tue, 28 Sep 2021 21:33:48 +0800 Subject: [PATCH] =?UTF-8?q?REPORT-57813=20=20=E5=9F=8B=E7=82=B9=E6=96=B9?= =?UTF-8?q?=E6=B3=95=E5=88=86=E7=A6=BB?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../fr/design/mainframe/guide/entry/GuideEntryPane.java | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/designer-realize/src/main/java/com/fr/design/mainframe/guide/entry/GuideEntryPane.java b/designer-realize/src/main/java/com/fr/design/mainframe/guide/entry/GuideEntryPane.java index a763faa98..ce43fef6e 100644 --- a/designer-realize/src/main/java/com/fr/design/mainframe/guide/entry/GuideEntryPane.java +++ b/designer-realize/src/main/java/com/fr/design/mainframe/guide/entry/GuideEntryPane.java @@ -4,13 +4,11 @@ import com.fr.design.constants.UIConstants; import com.fr.design.dialog.BasicPane; import com.fr.design.gui.ibutton.UIButton; import com.fr.design.i18n.Toolkit; -import com.fr.design.mainframe.DesignerContext; import com.fr.design.mainframe.guide.collect.GuideCollector; import com.fr.design.mainframe.guide.ui.BubbleHintDialog; import com.fr.design.mainframe.guide.ui.GuideManageDialog; import com.fr.general.IOUtils; -import javax.swing.SwingUtilities; import javax.swing.event.AncestorEvent; import javax.swing.event.AncestorListener; import java.awt.BorderLayout; @@ -47,7 +45,7 @@ public class GuideEntryPane extends BasicPane { button.addMouseListener(new MouseAdapter() { @Override public void mouseClicked(MouseEvent e) { - GuideManageDialog.getInstance().showDialog(); + onClick(); } }); this.setBackground(UIConstants.TEMPLATE_TAB_PANE_BACKGROUND); @@ -73,4 +71,8 @@ public class GuideEntryPane extends BasicPane { } + private void onClick() { + GuideManageDialog.getInstance().showDialog(); + } + }