JAL-3587 Load Project bug
authorBobHanson <hansonr@stolaf.edu>
Thu, 16 Apr 2020 19:08:11 +0000 (14:08 -0500)
committerBobHanson <hansonr@stolaf.edu>
Thu, 16 Apr 2020 19:08:11 +0000 (14:08 -0500)
Fixed 2019.01.24 in Applet branch.

commit db8caac49ea663fbc2b8b78f7eb2e6ae893f40da

didn't have a JAL number. My mistake.

src/jalview/gui/Desktop.java

index 088d83d..59541bb 100644 (file)
@@ -1767,7 +1767,7 @@ public class Desktop extends jalview.jbgui.GDesktop
           {
                try 
             {
-              new Jalview2XML().loadJalviewAlign(choice);
+              new Jalview2XML().loadJalviewAlign(selectedFile);
             } catch (OutOfMemoryError oom)
                {
                  new OOMWarning("Whilst loading project from " + choice, oom);