clear selection
authoramwaterhouse <Andrew Waterhouse>
Wed, 9 Mar 2005 18:39:45 +0000 (18:39 +0000)
committeramwaterhouse <Andrew Waterhouse>
Wed, 9 Mar 2005 18:39:45 +0000 (18:39 +0000)
src/jalview/gui/IdPanel.java

index 3e8af17..32f3425 100755 (executable)
@@ -136,6 +136,7 @@ public class IdPanel extends JPanel implements MouseListener, MouseMotionListene
     {\r
       selectedSequenceGroup = new SequenceGroup();\r
       av.setRubberbandGroup(selectedSequenceGroup);\r
+      av.getSelection().clear();\r
     }\r
 \r
     selectedSequenceGroup.setStartRes(0);\r