From 1b43715e5586b3087a9f5e849398230e6bb22b1b Mon Sep 17 00:00:00 2001 From: Jim Procter Date: Wed, 7 Jan 2015 17:17:12 +0000 Subject: [PATCH] JAL-1483 making type visible also adds it to registry --- src/jalview/viewmodel/seqfeatures/FeaturesDisplayed.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/jalview/viewmodel/seqfeatures/FeaturesDisplayed.java b/src/jalview/viewmodel/seqfeatures/FeaturesDisplayed.java index fccdee3..ebe070b 100644 --- a/src/jalview/viewmodel/seqfeatures/FeaturesDisplayed.java +++ b/src/jalview/viewmodel/seqfeatures/FeaturesDisplayed.java @@ -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 -- 1.7.10.2