JAL-1397 make sure ColourschemeI instances are up to date after a new view is created
authorJim Procter <jprocter@compbio.dundee.ac.uk>
Thu, 17 Oct 2013 10:10:44 +0000 (11:10 +0100)
committerJim Procter <jprocter@compbio.dundee.ac.uk>
Thu, 17 Oct 2013 10:10:44 +0000 (11:10 +0100)
src/jalview/gui/AlignFrame.java

index e2fe90c..62fd29d 100644 (file)
@@ -2538,7 +2538,8 @@ public class AlignFrame extends GAlignFrame implements DropTargetListener,
     newap.av.viewName = newViewName;
 
     addAlignmentPanel(newap, true);
-
+    newap.alignmentChanged();
+    
     if (alignPanels.size() == 2)
     {
       viewport.gatherViewsHere = true;