JAL-553 JAL-1557 always send selections after triggering the PaintRefreser for a...
authorJim Procter <jprocter@issues.jalview.org>
Mon, 30 May 2016 15:40:30 +0000 (16:40 +0100)
committerJim Procter <jprocter@issues.jalview.org>
Mon, 30 May 2016 15:40:30 +0000 (16:40 +0100)
src/jalview/gui/AnnotationLabels.java

index 33b7131..e27b919 100755 (executable)
@@ -899,9 +899,9 @@ public class AnnotationLabels extends JPanel implements MouseListener,
               sg.addSequence(aa[selectedRow].sequenceRef, false);
             }
             ap.av.setSelectionGroup(sg);
-            ap.av.sendSelection();
             ap.paintAlignment(false);
             PaintRefresher.Refresh(ap, ap.av.getSequenceSetId());
+            ap.av.sendSelection();
           }
 
         }