patched for JAL-531 - only display full symbol distribution stats on tooltip/annotati...
[jalview.git] / src / jalview / gui / AnnotationLabels.java
index 1033936..07a9b03 100755 (executable)
@@ -592,10 +592,10 @@ public class AnnotationLabels extends JPanel implements MouseListener,
             }
           });
           pop.add(chist);
-          final JCheckBoxMenuItem cprof = new JCheckBoxMenuItem(
+          final JCheckBoxMenuItem cprofl = new JCheckBoxMenuItem(
                   "Show Group Logo", aa[selectedRow].groupRef
                           .isShowSequenceLogo());
-          cprof.addActionListener(new ActionListener()
+          cprofl.addActionListener(new ActionListener()
           {
             public void actionPerformed(ActionEvent e)
             {
@@ -605,12 +605,12 @@ public class AnnotationLabels extends JPanel implements MouseListener,
               // view
               // can be
               // updated.
-              aaa.groupRef.setIncludeAllConsSymbols(cprof.getState());
+              aaa.groupRef.setshowSequenceLogo(cprofl.getState());
               ap.repaint();
               // ap.annotationPanel.paint(ap.annotationPanel.getGraphics());
             }
           });
-          pop.add(cprof);
+          pop.add(cprofl);
         }
         else
         {