From 5f66ff0fec214c6773c5b5c17c6511630669c5d1 Mon Sep 17 00:00:00 2001 From: kuangshuai Date: Fri, 22 Oct 2021 23:31:47 +0800 Subject: [PATCH] =?UTF-8?q?REPORT-60896=20=E4=BB=A3=E7=A0=81=E8=BF=98?= =?UTF-8?q?=E5=8E=9F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../fr/design/mainframe/guide/base/Guide.java | 21 +++++++------------ 1 file changed, 8 insertions(+), 13 deletions(-) diff --git a/designer-base/src/main/java/com/fr/design/mainframe/guide/base/Guide.java b/designer-base/src/main/java/com/fr/design/mainframe/guide/base/Guide.java index fc35b742d4..9469f931a1 100644 --- a/designer-base/src/main/java/com/fr/design/mainframe/guide/base/Guide.java +++ b/designer-base/src/main/java/com/fr/design/mainframe/guide/base/Guide.java @@ -135,20 +135,15 @@ public class Guide { public void start() { guideView.hideLoading(); - SwingUtilities.invokeLater(new Runnable() { - @Override - public void run() { - if (scene != null) { - guideView.setScene(scene); - guideView.showGuide(); - if (lifecycle != null) { - lifecycle.onStart(); - } - } else { - complete(); - } + if (scene != null) { + guideView.setScene(scene); + guideView.showGuide(); + if (lifecycle != null) { + lifecycle.onStart(); } - }); + } else { + complete(); + } } public void complete() {