From bb3f28791ddb1a4f55e78a3bcd2ff4a591ebe95d Mon Sep 17 00:00:00 2001 From: jprocter Date: Fri, 28 Oct 2011 15:46:58 +0100 Subject: [PATCH] (JAL-889) ensure annotation row is revalidated after an edit occurs --- src/jalview/appletgui/AnnotationPanel.java | 2 ++ src/jalview/gui/AnnotationPanel.java | 1 + 2 files changed, 3 insertions(+) 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(); -- 1.7.10.2