From 96f3f9ed47f4d7e5c094a49c5655fa946a186440 Mon Sep 17 00:00:00 2001 From: jprocter Date: Tue, 25 Sep 2012 15:26:24 +0100 Subject: [PATCH] JAL-1031 allow empty selections to pass through to tree builder, which will ignore them! --- src/jalview/appletgui/AlignFrame.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); -- 1.7.10.2