From 1563da15a9d7eef4b88abbfaf8efa1868d69d236 Mon Sep 17 00:00:00 2001 From: gmungoc Date: Mon, 8 Aug 2016 17:16:36 +0100 Subject: [PATCH] JAL-1577 rebuild menus when secondary structure manually updated --- src/jalview/gui/AnnotationPanel.java | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/jalview/gui/AnnotationPanel.java b/src/jalview/gui/AnnotationPanel.java index bb311ef..60c182e 100755 --- a/src/jalview/gui/AnnotationPanel.java +++ b/src/jalview/gui/AnnotationPanel.java @@ -351,7 +351,7 @@ public class AnnotationPanel extends JPanel implements AwtRenderPanelI, } } else - // HELIX OR SHEET + // HELIX, SHEET or STEM { char type = 0; String symbol = "\u03B1"; @@ -412,9 +412,10 @@ public class AnnotationPanel extends JPanel implements AwtRenderPanelI, } } + av.getAlignment().validateAnnotation(aa[activeRow]); ap.alignmentChanged(); - + ap.alignFrame.setMenusForViewport(); adjustPanelHeight(); repaint(); -- 1.7.10.2