X-Git-Url: http://source.jalview.org/gitweb/?a=blobdiff_plain;f=src%2Fjalview%2Fgui%2FJalview2XML.java;h=af820caac5bce1e2f0324c2675424d72a58e99e4;hb=39166053d22c1622aada228d33bea59e0332d0ad;hp=3e1359dff1f58433f6946be0a10ac99bf1b8fdf3;hpb=270072611e8fb78f0e2df6205778a93a03c7199c;p=jalview.git 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; }