JAL-2599 fixed information annotation buttons not working
[jalview.git] / src / jalview / gui / AnnotationLabels.java
index 090a400..367baf1 100755 (executable)
@@ -423,7 +423,7 @@ public class AnnotationLabels extends JPanel implements MouseListener,
     {
       final String label = aa[selectedRow].label;
       if (!(aa[selectedRow].autoCalculated)
-              && !(label.indexOf("Information") > -1))
+              && !(label.indexOf("_HMM") > -1))
       {
         if (aa[selectedRow].graph == AlignmentAnnotation.NO_GRAPH)
         {
@@ -605,7 +605,7 @@ public class AnnotationLabels extends JPanel implements MouseListener,
         consclipbrd.addActionListener(this);
         pop.add(consclipbrd);
       }
-      else if (label.indexOf("Information") > -1) // TODO create labels
+      else if (label.indexOf("_HMM") > -1) // TODO create labels
                                                           // in message resource
                                                           // for these
       {