AlignmentAnnotation: added annotation score attribute and allowed for annotation...
[jalview.git] / src / jalview / commands / EditCommand.java
index 4cd5992..ce88127 100644 (file)
@@ -472,7 +472,11 @@ public class EditCommand
       }
 
       int tSize = 0;
-
+      if (annotations[a].annotations == null)
+      {
+        // nothing to edit here ?
+        continue;
+      }
       aSize = annotations[a].annotations.length;
       if (insert)
       {