From: gmungoc Date: Mon, 8 Aug 2016 16:16:36 +0000 (+0100) Subject: JAL-1577 rebuild menus when secondary structure manually updated X-Git-Tag: Release_2_10_0~70^2~16 X-Git-Url: http://source.jalview.org/gitweb/?a=commitdiff_plain;h=1563da15a9d7eef4b88abbfaf8efa1868d69d236;p=jalview.git JAL-1577 rebuild menus when secondary structure manually updated --- 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();