From: Jim Procter Date: Wed, 7 Jan 2015 17:17:12 +0000 (+0000) Subject: JAL-1483 making type visible also adds it to registry X-Git-Tag: Jalview_2_9~123^2~9 X-Git-Url: http://source.jalview.org/gitweb/?a=commitdiff_plain;h=1b43715e5586b3087a9f5e849398230e6bb22b1b;p=jalview.git JAL-1483 making type visible also adds it to registry --- 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