From: amwaterhouse Date: Thu, 26 Oct 2006 09:41:12 +0000 (+0000) Subject: Set alignFrame of gathered panels to be the source AlignFrame X-Git-Tag: Release_2_2~223 X-Git-Url: http://source.jalview.org/gitweb/?a=commitdiff_plain;h=a452823dc1f0f02a366ea432cb161a7e1b1570ca;p=jalview.git Set alignFrame of gathered panels to be the source AlignFrame --- 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); - + } }