Add header
[jalview.git] / src / jalview / gui / AnnotationPanel.java
index f13bc91..5f0d3c8 100755 (executable)
@@ -148,7 +148,9 @@ public class AnnotationPanel extends JPanel implements MouseListener,
         if (activeRow == -1)\r
         {\r
             AlignmentAnnotation[] aa = av.alignment.getAlignmentAnnotation();\r
-            if(aa!=null)\r
+            if(aa==null)\r
+              return;\r
+\r
             for (int j = 0; j < aa.length; j++)\r
             {\r
                 if (aa[j].editable)\r