JAL-1065,JAL-1066 propagated notification of colourscheme when alignment changed...
authorjprocter <jprocter@compbio.dundee.ac.uk>
Tue, 22 May 2012 11:33:19 +0000 (12:33 +0100)
committerjprocter <jprocter@compbio.dundee.ac.uk>
Tue, 22 May 2012 11:33:19 +0000 (12:33 +0100)
src/jalview/viewmodel/AlignmentViewport.java

index 703e9a7..ae1a4fd 100644 (file)
@@ -1058,6 +1058,8 @@ public abstract class AlignmentViewport implements AlignViewportI
     ColourSchemeI cs = globalColourScheme;
     if (cs != null)
     {
+      cs.alignmentChanged(alignment);
+      // TODO: fold all recalc events for clustalX into alignmentChanged
       if (cs instanceof ClustalxColourScheme)
       {
         ((ClustalxColourScheme) cs).resetClustalX(alignment.getSequences(),