JAL-4134 column grouping model and methods moved to their own object held by by Conta...
[jalview.git] / src / jalview / gui / AnnotationLabels.java
index 52a6066..d781ebb 100755 (executable)
@@ -428,7 +428,7 @@ public class AnnotationLabels extends JPanel
       {
         final PAEContactMatrix cm = (PAEContactMatrix) av
                 .getContactMatrix(aa[selectedRow]);
-        if (cm!=null && cm.getNewick()!=null && cm.getNewick().length()>0)
+        if (cm!=null && cm.hasTree())
         {
           item = new JMenuItem("Show Tree for Matrix");
           item.addActionListener(new ActionListener()