From d7aa768d559b6813bcb8324bded68e7a65e2de16 Mon Sep 17 00:00:00 2001 From: jprocter Date: Wed, 10 Feb 2010 14:46:41 +0000 Subject: [PATCH] only need to remove progress bar if fetch wasn't cancelled (bug #0059977) --- src/jalview/ws/DasSequenceFeatureFetcher.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/jalview/ws/DasSequenceFeatureFetcher.java b/src/jalview/ws/DasSequenceFeatureFetcher.java index d3c20ba..781cda9 100644 --- a/src/jalview/ws/DasSequenceFeatureFetcher.java +++ b/src/jalview/ws/DasSequenceFeatureFetcher.java @@ -330,8 +330,9 @@ public class DasSequenceFeatureFetcher private void setGuiFetchComplete() { - if (af != null) + if (!cancelled && af != null) { + // only update the progress bar if we've completed the fetch normally af.setProgressBar("DAS Feature Fetching Complete", startTime); } -- 1.7.10.2