JAL-1031 allow empty selections to pass through to tree builder, which will ignore...
authorjprocter <jprocter@compbio.dundee.ac.uk>
Tue, 25 Sep 2012 14:26:24 +0000 (15:26 +0100)
committerjprocter <jprocter@compbio.dundee.ac.uk>
Tue, 25 Sep 2012 14:26:24 +0000 (15:26 +0100)
src/jalview/appletgui/AlignFrame.java

index 9fe2456..bcb518f 100644 (file)
@@ -2522,7 +2522,7 @@ public class AlignFrame extends EmbmenuFrame implements ActionListener,  ItemLis
 \r
     if ((viewport.getSelectionGroup() != null && viewport\r
             .getSelectionGroup().getSize() > 1)\r
-            || (viewport.getSelectionGroup() == null && viewport.getAlignment()\r
+            || (viewport.getAlignment()\r
                     .getHeight() > 1))\r
     {\r
       final TreePanel tp = new TreePanel(alignPanel, type, pwType);\r