From 9c1595c4c35c6d87a4daac8293c050b0760575a5 Mon Sep 17 00:00:00 2001 From: jprocter Date: Thu, 4 Oct 2012 12:58:04 +0100 Subject: [PATCH] JAL-1064 JAL-671 make sure all buttons are disabled during fetch and renabled after it completes --- src/jalview/gui/SequenceFetcher.java | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) 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); -- 1.7.10.2