From: amwaterhouse Date: Wed, 15 Feb 2006 15:25:52 +0000 (+0000) Subject: Dont use FeatureFetcher if nucleotide X-Git-Tag: Root_VamJalview_2_07b+~127 X-Git-Url: http://source.jalview.org/gitweb/?a=commitdiff_plain;h=2454b0fdaf4c3f0ded325f3b800d30422bd98294;p=jalview.git Dont use FeatureFetcher if nucleotide --- diff --git a/src/jalview/gui/AlignFrame.java b/src/jalview/gui/AlignFrame.java index 5778a7e..9bcb759 100755 --- a/src/jalview/gui/AlignFrame.java +++ b/src/jalview/gui/AlignFrame.java @@ -174,8 +174,8 @@ public class AlignFrame public void setGUINucleotide(boolean nucleotide) { showTranslation.setVisible( nucleotide ); - sequenceFeatures.setVisible(!nucleotide ); - featureSettings.setVisible( !nucleotide ); + //sequenceFeatures.setVisible(!nucleotide ); + //featureSettings.setVisible( !nucleotide ); conservationMenuItem.setVisible( !nucleotide ); modifyConservation.setVisible( !nucleotide ); @@ -1338,7 +1338,7 @@ public class AlignFrame { viewport.showSequenceFeatures(sequenceFeatures.isSelected()); - if (viewport.showSequenceFeatures) + if (viewport.showSequenceFeatures && !viewport.alignment.isNucleotide()) { new SequenceFeatureFetcher(viewport. alignment,