only recalc group conservation after last sequence operated on in a bulk add/remove...
authorjprocter <jprocter@compbio.dundee.ac.uk>
Mon, 24 Sep 2012 16:48:02 +0000 (17:48 +0100)
committerjprocter <jprocter@compbio.dundee.ac.uk>
Mon, 24 Sep 2012 16:48:27 +0000 (17:48 +0100)
src/jalview/appletgui/IdPanel.java
src/jalview/gui/IdPanel.java

index 0042856..8a0efc3 100755 (executable)
@@ -378,7 +378,7 @@ public class IdPanel extends Panel implements MouseListener,
     for (int i = start; i <= end; i++)
     {
       av.getSelectionGroup().addSequence(
-              av.getAlignment().getSequenceAt(i), false);
+              av.getAlignment().getSequenceAt(i), i==end);
     }
 
   }
index a42251e..7a2ecf7 100755 (executable)
@@ -376,7 +376,7 @@ public class IdPanel extends JPanel implements MouseListener,
     for (int i = start; i <= end; i++)
     {
       av.getSelectionGroup().addSequence(
-              av.getAlignment().getSequenceAt(i), true);
+              av.getAlignment().getSequenceAt(i), i==end);
     }
   }