From 81f6049003ae41d3ce3950fa1e80599c7bb39896 Mon Sep 17 00:00:00 2001 From: Jim Procter Date: Thu, 17 Oct 2013 11:10:44 +0100 Subject: [PATCH] JAL-1397 make sure ColourschemeI instances are up to date after a new view is created --- src/jalview/gui/AlignFrame.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/jalview/gui/AlignFrame.java b/src/jalview/gui/AlignFrame.java index e2fe90c..62fd29d 100644 --- a/src/jalview/gui/AlignFrame.java +++ b/src/jalview/gui/AlignFrame.java @@ -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; -- 1.7.10.2