JAL-2154 disable visual delay only after completed import
authorJim Procter <jprocter@issues.jalview.org>
Fri, 29 Jul 2016 14:02:29 +0000 (15:02 +0100)
committerJim Procter <jprocter@issues.jalview.org>
Fri, 29 Jul 2016 14:02:29 +0000 (15:02 +0100)
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;
   }