- // We removed the non-graph annotations when filling the combobox\r
- // so allow for them again here\r
- int nograph = 0, graph = -1;\r
- for (int i = 0; i < av.alignment.getAlignmentAnnotation().length; i++)\r
- {\r
- if (av.alignment.getAlignmentAnnotation()[i].graph == 0)\r
- {\r
- nograph++;\r
- }\r
- else\r
- {\r
- graph++;\r
- }\r
-\r
- if (graph == annotations.getSelectedIndex())\r
- {\r
- break;\r
- }\r
- }\r