JAL-1064 JAL-671 make sure all buttons are disabled during fetch and renabled after...
authorjprocter <jprocter@compbio.dundee.ac.uk>
Thu, 4 Oct 2012 11:58:04 +0000 (12:58 +0100)
committerjprocter <jprocter@compbio.dundee.ac.uk>
Thu, 4 Oct 2012 11:58:04 +0000 (12:58 +0100)
src/jalview/gui/SequenceFetcher.java

index bf522ef..106de63 100755 (executable)
@@ -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);