JAL-1601 Propagate representative sequence to the final output alignment
[jalview.git] / src / jalview / ws2 / gui / AnnotationServiceGuiHandler.java
index 73ad8f6..8fc07a5 100644 (file)
@@ -36,6 +36,7 @@ public class AnnotationServiceGuiHandler
   @Override
   public void workerStarted(AlignCalcWorkerAdapter source)
   {
+    progressIndicator.addProgressBar(progressId, action.getFullName());
     progressIndicator.registerHandler(progressId,
         new IProgressIndicatorHandler()
         {
@@ -52,7 +53,6 @@ public class AnnotationServiceGuiHandler
             return true;
           }
         });
-    progressIndicator.addProgressBar(progressId, action.getFullName());
   }
 
   @Override
@@ -66,7 +66,7 @@ public class AnnotationServiceGuiHandler
   {
     if (result == null)
       return;
-    if (result.getTransferFeatures())
+    if (result.getHasFeatures())
     {
       alignFrame.getViewport().applyFeaturesStyle(new FeatureSettingsAdapter()
       {