only need to remove progress bar if fetch wasn't cancelled (bug #0059977)
authorjprocter <Jim Procter>
Wed, 10 Feb 2010 14:46:41 +0000 (14:46 +0000)
committerjprocter <Jim Procter>
Wed, 10 Feb 2010 14:46:41 +0000 (14:46 +0000)
src/jalview/ws/DasSequenceFeatureFetcher.java

index d3c20ba..781cda9 100644 (file)
@@ -330,8 +330,9 @@ public class DasSequenceFeatureFetcher
   private void setGuiFetchComplete()\r
   {\r
 \r
-    if (af != null)\r
+    if (!cancelled && af != null)\r
     {\r
+      // only update the progress bar if we've completed the fetch normally\r
       af.setProgressBar("DAS Feature Fetching Complete", startTime);\r
     }\r
 \r