JAL-2154 disable visual delay only after completed import
[jalview.git] / src / jalview / gui / Jalview2XML.java
index 3e1359d..af820ca 100644 (file)
@@ -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;
   }