From: jprocter Date: Tue, 25 Sep 2012 14:26:24 +0000 (+0100) Subject: JAL-1031 allow empty selections to pass through to tree builder, which will ignore... X-Git-Tag: Jalview_2_9~288 X-Git-Url: http://source.jalview.org/gitweb/?a=commitdiff_plain;h=96f3f9ed47f4d7e5c094a49c5655fa946a186440;p=jalview.git JAL-1031 allow empty selections to pass through to tree builder, which will ignore them! --- diff --git a/src/jalview/appletgui/AlignFrame.java b/src/jalview/appletgui/AlignFrame.java index 9fe2456..bcb518f 100644 --- a/src/jalview/appletgui/AlignFrame.java +++ b/src/jalview/appletgui/AlignFrame.java @@ -2522,7 +2522,7 @@ public class AlignFrame extends EmbmenuFrame implements ActionListener, ItemLis if ((viewport.getSelectionGroup() != null && viewport .getSelectionGroup().getSize() > 1) - || (viewport.getSelectionGroup() == null && viewport.getAlignment() + || (viewport.getAlignment() .getHeight() > 1)) { final TreePanel tp = new TreePanel(alignPanel, type, pwType);