JAL-1483 making type visible also adds it to registry
authorJim Procter <jprocter@dundee.ac.uk>
Wed, 7 Jan 2015 17:17:12 +0000 (17:17 +0000)
committerJim Procter <jprocter@dundee.ac.uk>
Wed, 7 Jan 2015 17:17:12 +0000 (17:17 +0000)
src/jalview/viewmodel/seqfeatures/FeaturesDisplayed.java

index fccdee3..ebe070b 100644 (file)
@@ -61,6 +61,7 @@ public class FeaturesDisplayed implements FeaturesDisplayedI
   public void setAllVisible(Collection makeVisible)
   {
     featuresDisplayed.addAll(makeVisible);
+    featuresRegistered.addAll(makeVisible);
   }
 
   @Override
@@ -73,6 +74,7 @@ public class FeaturesDisplayed implements FeaturesDisplayedI
   public void setVisible(String featureType)
   {
     featuresDisplayed.add(featureType);
+    featuresRegistered.add(featureType);
   }
 
   @Override