From 39166053d22c1622aada228d33bea59e0332d0ad Mon Sep 17 00:00:00 2001 From: Jim Procter Date: Fri, 29 Jul 2016 15:02:29 +0100 Subject: [PATCH] JAL-2154 disable visual delay only after completed import --- src/jalview/gui/Jalview2XML.java | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/src/jalview/gui/Jalview2XML.java b/src/jalview/gui/Jalview2XML.java index 3e1359d..af820ca 100644 --- a/src/jalview/gui/Jalview2XML.java +++ b/src/jalview/gui/Jalview2XML.java @@ -2442,11 +2442,6 @@ public class Jalview2XML e.printStackTrace(); } - if (Desktop.instance != null) - { - Desktop.instance.stopLoading(); - } - /* * Regather multiple views (with the same sequence set id) to the frame (if * any) that is flagged as the one to gather to, i.e. convert them to tabbed @@ -2472,6 +2467,12 @@ public class Jalview2XML { reportErrors(); } + + if (Desktop.instance != null) + { + Desktop.instance.stopLoading(); + } + return af; } -- 1.7.10.2