JAL-2110 JAL-2131 JAL-1765 remove reference to jalview.datamodel.Alignment from Align...
[jalview.git] / src / jalview / schemes / RNAHelicesColourChooser.java
index 05cffc2..1a13bbe 100644 (file)
@@ -109,21 +109,7 @@ public class RNAHelicesColourChooser
 
     av.setGlobalColourScheme(rhc);
 
-    if (av.getAlignment().getGroups() != null)
-    {
-      for (SequenceGroup sg : ap.getAlignment().getGroups())
-      {
-        if (sg.cs == null)
-        {
-          continue;
-        }
-
-        sg.cs = new RNAHelicesColour(sg);
-
-      }
-    }
-
-    ap.paintAlignment(false);
+    ap.paintAlignment(true);
   }
 
   void reset()