From 0305216f7e9413a20bcca8acba1c8cece34d2cf4 Mon Sep 17 00:00:00 2001 From: Jim Procter Date: Thu, 11 Aug 2016 18:25:03 +0100 Subject: [PATCH] JAL-2154 JAL-1993 relocate show dbchooser action out of jbInit --- src/jalview/gui/SequenceFetcher.java | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/src/jalview/gui/SequenceFetcher.java b/src/jalview/gui/SequenceFetcher.java index 828a2aa..0f3e2f4 100755 --- a/src/jalview/gui/SequenceFetcher.java +++ b/src/jalview/gui/SequenceFetcher.java @@ -268,6 +268,7 @@ public class SequenceFetcher extends JPanel implements Runnable try { jbInit(); + database.waitForInput(); } catch (Exception ex) { ex.printStackTrace(); @@ -425,11 +426,6 @@ public class SequenceFetcher extends JPanel implements Runnable this.add(jPanel3, java.awt.BorderLayout.CENTER); this.add(jPanel2, java.awt.BorderLayout.NORTH); jScrollPane1.getViewport().add(textArea); - - /* - * open the database tree - */ - database.waitForInput(); } private void pdbSourceAction() -- 1.7.10.2