From 875e6f6f18c96bfea4a43c951852921ee3f5ee75 Mon Sep 17 00:00:00 2001 From: amwaterhouse Date: Mon, 24 Jan 2005 17:24:52 +0000 Subject: [PATCH] Clear selection when deleting all groups --- src/jalview/gui/AlignFrame.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/jalview/gui/AlignFrame.java b/src/jalview/gui/AlignFrame.java index 1d6cbf4..f5d2e0c 100755 --- a/src/jalview/gui/AlignFrame.java +++ b/src/jalview/gui/AlignFrame.java @@ -205,6 +205,8 @@ public class AlignFrame extends GAlignFrame protected void deleteGroups_actionPerformed(ActionEvent e) { viewport.alignment.deleteAllGroups(); + viewport.getSelection().clear(); + alignPanel.RefreshPanels(); } -- 1.7.10.2