Skip to content

Commit dba491a

Browse files
authored
fix: remove redundant closeWelcomePage (#1268)
1 parent 4c7a55b commit dba491a

File tree

1 file changed

+0
-20
lines changed

1 file changed

+0
-20
lines changed

bundles/com.espressif.idf.ui/src/com/espressif/idf/ui/tools/EspressifToolStartup.java

Lines changed: 0 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -256,7 +256,6 @@ private void notifyMissingTools()
256256

257257
private void downloadAndLaunchEim()
258258
{
259-
closeWelcomePage();
260259
Job downloadJob = new Job("Download and Launch EIM")
261260
{
262261

@@ -271,25 +270,6 @@ protected IStatus run(IProgressMonitor monitor)
271270
downloadJob.schedule();
272271
}
273272

274-
private void closeWelcomePage()
275-
{
276-
Display.getDefault().asyncExec(() -> {
277-
IWorkbench workbench = PlatformUI.getWorkbench();
278-
if (workbench != null)
279-
{
280-
IWorkbenchWindow window = workbench.getActiveWorkbenchWindow();
281-
if (window != null)
282-
{
283-
IIntroManager introManager = workbench.getIntroManager();
284-
if (introManager.getIntro() != null)
285-
{
286-
introManager.closeIntro(introManager.getIntro());
287-
}
288-
}
289-
}
290-
});
291-
}
292-
293273
private MessageConsoleStream getConsoleStream(boolean errorStream)
294274
{
295275
IDFConsole idfConsole = new IDFConsole();

0 commit comments

Comments
 (0)