set quality to null if removed
authoramwaterhouse <Andrew Waterhouse>
Thu, 26 Oct 2006 12:19:16 +0000 (12:19 +0000)
committeramwaterhouse <Andrew Waterhouse>
Thu, 26 Oct 2006 12:19:16 +0000 (12:19 +0000)
src/jalview/gui/AnnotationLabels.java

index f32a350..4268353 100755 (executable)
@@ -171,19 +171,9 @@ public class AnnotationLabels extends JPanel implements MouseListener,
         {
             aa[selectedRow].visible = false;
 
-            if (aa[selectedRow].label.equals("Conservation"))
-            {
-                ap.av.showConservation = false;
-            }
-
             if (aa[selectedRow].label.equals("Quality"))
             {
-                ap.av.showQuality = false;
-            }
-
-            if (aa[selectedRow].label.equals("Consensus"))
-            {
-                ap.av.showIdentity = false;
+                ap.av.quality = null;
             }
 
             dif = aa[selectedRow].height * -1;