From 8665af1fa6a2b21f4bcfe50e8e375f3a59253313 Mon Sep 17 00:00:00 2001 From: jprocter Date: Wed, 14 Sep 2011 11:51:29 +0100 Subject: [PATCH] JAL-766 JAL-733 - new alignment->jmol associations are automatically used to colour structure --- src/jalview/gui/ViewSelectionMenu.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/jalview/gui/ViewSelectionMenu.java b/src/jalview/gui/ViewSelectionMenu.java index bca2988..c5433e5 100644 --- a/src/jalview/gui/ViewSelectionMenu.java +++ b/src/jalview/gui/ViewSelectionMenu.java @@ -121,7 +121,8 @@ public class ViewSelectionMenu extends JMenu } if (allviews.length >= 2) { - + // ensure we update menu state to reflect external selection list state + append = append || _selectedviews.size()>1; toggleview = new JCheckBoxMenuItem("Select many views",append); toggleview.setToolTipText("When enabled, allows many views to be selected."); toggleview.addItemListener(new ItemListener() { -- 1.7.10.2