From af1f57f65bad11f8e0329be6f539ae001630948d Mon Sep 17 00:00:00 2001 From: Mateusz Warowny Date: Wed, 12 Jul 2023 15:50:06 +0200 Subject: [PATCH] JAL-4199 Fix cancel button not appearing on progress bar --- src/jalview/ws2/gui/AnnotationServiceGuiHandler.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/jalview/ws2/gui/AnnotationServiceGuiHandler.java b/src/jalview/ws2/gui/AnnotationServiceGuiHandler.java index 73ad8f6..a7202e9 100644 --- a/src/jalview/ws2/gui/AnnotationServiceGuiHandler.java +++ b/src/jalview/ws2/gui/AnnotationServiceGuiHandler.java @@ -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 -- 1.7.10.2