JAL-3201 group colour schemes distinct instances
[jalview.git] / src / jalview / viewmodel / AlignmentViewport.java
index 1366ada..ca32ee7 100644 (file)
@@ -662,7 +662,7 @@ public abstract class AlignmentViewport
          * retain any colour thresholds per group while
          * changing choice of colour scheme (JAL-2386)
          */
-        sg.setColourScheme(cs);
+        sg.setColourScheme(cs.getInstance(sg, hiddenRepSequences));
         if (cs != null)
         {
           sg.getGroupColourScheme().alignmentChanged(sg,