JAL-1569 interactive editing of secondary structure char for RNA secondary structure
[jalview.git] / src / jalview / appletgui / AnnotationPanel.java
index 4b9fa67..22996f7 100755 (executable)
@@ -256,7 +256,9 @@ public class AnnotationPanel extends Panel implements AwtRenderPanelI,
           anot[index] = new Annotation(label, "", type, 0);
         }
 
-        anot[index].secondaryStructure = type;
+        
+        anot[index].secondaryStructure = type != 'S' ? type : label
+                .length() == 0 ? ' ' : label.charAt(0);
         anot[index].displayCharacter = label;
       }
     }