From: jprocter Date: Wed, 10 Feb 2010 14:46:41 +0000 (+0000) Subject: only need to remove progress bar if fetch wasn't cancelled (bug #0059977) X-Git-Tag: Release_2_5~140 X-Git-Url: http://source.jalview.org/gitweb/?a=commitdiff_plain;h=d7aa768d559b6813bcb8324bded68e7a65e2de16;p=jalview.git only need to remove progress bar if fetch wasn't cancelled (bug #0059977) --- 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); }