From f602f5590ae442664ecd8024087a62f71f00d82c Mon Sep 17 00:00:00 2001 From: amwaterhouse Date: Mon, 21 Mar 2005 18:47:48 +0000 Subject: [PATCH] fix select group bug --- src/jalview/gui/SeqPanel.java | 12 ++++-------- 1 file changed, 4 insertions(+), 8 deletions(-) diff --git a/src/jalview/gui/SeqPanel.java b/src/jalview/gui/SeqPanel.java index 55bec56..8e7141b 100755 --- a/src/jalview/gui/SeqPanel.java +++ b/src/jalview/gui/SeqPanel.java @@ -397,7 +397,10 @@ public class SeqPanel extends JPanel if(stretchGroup == null) { stretchGroup = av.alignment.findGroup( sequence ); - av.setSelectionGroup( stretchGroup ); + if(res>stretchGroup.getStartRes() && res