From 2d7deb9d3e1ddc98abae846c8ffbc62606b023be Mon Sep 17 00:00:00 2001 From: amwaterhouse Date: Thu, 9 Nov 2006 18:13:21 +0000 Subject: [PATCH] close menu item true --- src/jalview/gui/Jalview2XML.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/jalview/gui/Jalview2XML.java b/src/jalview/gui/Jalview2XML.java index df551b7..5b0ec15 100755 --- a/src/jalview/gui/Jalview2XML.java +++ b/src/jalview/gui/Jalview2XML.java @@ -1306,6 +1306,7 @@ public class Jalview2XML view.getWidth(), view.getHeight() ); + af.setFileName(file, "Jalview"); //If we just load in the same jar file again, the sequenceSetId //will be the same, and we end up with multiple references @@ -1641,7 +1642,7 @@ public class Jalview2XML AlignFrame af = LoadFromObject(jm, null, false); af.alignPanels.clear(); - af.closeMenuItem_actionPerformed(null); + af.closeMenuItem_actionPerformed(true); return af.alignPanel; } -- 1.7.10.2