From: jprocter Date: Thu, 4 Oct 2012 11:58:04 +0000 (+0100) Subject: JAL-1064 JAL-671 make sure all buttons are disabled during fetch and renabled after... X-Git-Tag: Jalview_2_9~272 X-Git-Url: http://source.jalview.org/gitweb/?a=commitdiff_plain;h=9c1595c4c35c6d87a4daac8293c050b0760575a5;p=jalview.git JAL-1064 JAL-671 make sure all buttons are disabled during fetch and renabled after it completes --- diff --git a/src/jalview/gui/SequenceFetcher.java b/src/jalview/gui/SequenceFetcher.java index bf522ef..106de63 100755 --- a/src/jalview/gui/SequenceFetcher.java +++ b/src/jalview/gui/SequenceFetcher.java @@ -405,7 +405,8 @@ public class SequenceFetcher extends JPanel implements Runnable public void ok_actionPerformed() { - database.setEnabled(false); + databaseButt.setEnabled(false); + example.setEnabled(false); textArea.setEnabled(false); ok.setEnabled(false); close.setEnabled(false); @@ -416,7 +417,8 @@ public class SequenceFetcher extends JPanel implements Runnable private void resetDialog() { - database.setEnabled(true); + databaseButt.setEnabled(true); + example.setEnabled(true); textArea.setEnabled(true); ok.setEnabled(true); close.setEnabled(true);