From: jprocter Date: Fri, 28 Oct 2011 14:46:58 +0000 (+0100) Subject: (JAL-889) ensure annotation row is revalidated after an edit occurs X-Git-Tag: Jalview_2_9~565^2~8 X-Git-Url: http://source.jalview.org/gitweb/?a=commitdiff_plain;h=bb3f28791ddb1a4f55e78a3bcd2ff4a591ebe95d;p=jalview.git (JAL-889) ensure annotation row is revalidated after an edit occurs --- diff --git a/src/jalview/appletgui/AnnotationPanel.java b/src/jalview/appletgui/AnnotationPanel.java index d533498..2b67500 100755 --- a/src/jalview/appletgui/AnnotationPanel.java +++ b/src/jalview/appletgui/AnnotationPanel.java @@ -241,6 +241,8 @@ public class AnnotationPanel extends Panel implements AwtRenderPanelI, Adjustmen } } + aa[activeRow].validateRangeAndDisplay(); + adjustPanelHeight(); repaint(); diff --git a/src/jalview/gui/AnnotationPanel.java b/src/jalview/gui/AnnotationPanel.java index e77fbed..20d4d29 100755 --- a/src/jalview/gui/AnnotationPanel.java +++ b/src/jalview/gui/AnnotationPanel.java @@ -362,6 +362,7 @@ public class AnnotationPanel extends JPanel implements AwtRenderPanelI, anot[index].displayCharacter = label; } } + aa[activeRow].validateRangeAndDisplay(); adjustPanelHeight(); repaint();