From a452823dc1f0f02a366ea432cb161a7e1b1570ca Mon Sep 17 00:00:00 2001 From: amwaterhouse Date: Thu, 26 Oct 2006 09:41:12 +0000 Subject: [PATCH] Set alignFrame of gathered panels to be the source AlignFrame --- src/jalview/gui/Desktop.java | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/src/jalview/gui/Desktop.java b/src/jalview/gui/Desktop.java index eb62972..9f74e3e9 100755 --- a/src/jalview/gui/Desktop.java +++ b/src/jalview/gui/Desktop.java @@ -136,7 +136,7 @@ public class Desktop extends jalview.jbgui.GDesktop VamsasMenu.setVisible(true); vamsasLoad.setVisible(true); } - + } /** @@ -742,6 +742,7 @@ public class Desktop extends jalview.jbgui.GDesktop if (viewId.equals(ap.av.getSequenceSetId())) { gatherThis = true; + ap.alignFrame = source; ap.av.gatherViewsHere = false; ap.av.explodedPosition = af.getBounds(); source.addAlignmentPanel(ap); @@ -796,9 +797,9 @@ public class Desktop extends jalview.jbgui.GDesktop */ public void setVamsasUpdate(boolean b) { jalview.bin.Cache.log.debug("Setting gui for Vamsas update "+(b ? "in progress" : "finished")); - vamsasLoad.setVisible(!b); + vamsasLoad.setVisible(!b); vamsasStop.setVisible(!b); - + } } -- 1.7.10.2