(JAL-889) ensure annotation row is revalidated after an edit occurs
authorjprocter <jprocter@compbio.dundee.ac.uk>
Fri, 28 Oct 2011 14:46:58 +0000 (15:46 +0100)
committerjprocter <jprocter@compbio.dundee.ac.uk>
Fri, 28 Oct 2011 14:46:58 +0000 (15:46 +0100)
src/jalview/appletgui/AnnotationPanel.java
src/jalview/gui/AnnotationPanel.java

index d533498..2b67500 100755 (executable)
@@ -241,6 +241,8 @@ public class AnnotationPanel extends Panel implements AwtRenderPanelI, Adjustmen
       }
     }
 
+    aa[activeRow].validateRangeAndDisplay();
+
     adjustPanelHeight();
     repaint();
 
index e77fbed..20d4d29 100755 (executable)
@@ -362,6 +362,7 @@ public class AnnotationPanel extends JPanel implements AwtRenderPanelI,
         anot[index].displayCharacter = label;
       }
     }
+    aa[activeRow].validateRangeAndDisplay();
 
     adjustPanelHeight();
     repaint();