Merge branch 'features/JAL-1767pcaInProject' into bug/JAL-3171_maintain_datasets_acro...
[jalview.git] / src / jalview / gui / PCAPanel.java
index 5ff0881..da1dffe 100644 (file)
@@ -498,8 +498,8 @@ public class PCAPanel extends GPCAPanel
 
     for (int i = 0; i < iSize; i++)
     {
-      final AlignmentPanel panel = aps[i];
-      item = new JRadioButtonMenuItem(panel.av.viewName, panel.av == rc.av);
+      final AlignmentPanel ap = aps[i];
+      item = new JRadioButtonMenuItem(ap.av.getViewName(), ap.av == rc.av);
       buttonGroup.add(item);
       item.addActionListener(new ActionListener()
       {