JAL-1230 update alignment state for annotation edits, and validate annotation panel...
[jalview.git] / src / jalview / appletgui / AnnotationPanel.java
index f63cb76..154652d 100755 (executable)
@@ -253,10 +253,10 @@ public class AnnotationPanel extends Panel implements AwtRenderPanelI,
       }
     }
 
-    aa[activeRow].validateRangeAndDisplay();
+    av.getAlignment().validateAnnotation(aa[activeRow]);
 
-    adjustPanelHeight();
     ap.alignmentChanged();
+    adjustPanelHeight();
     repaint();
 
     return;