From: amwaterhouse Date: Mon, 24 Jan 2005 17:24:52 +0000 (+0000) Subject: Clear selection when deleting all groups X-Git-Tag: Release_2_0~731 X-Git-Url: http://source.jalview.org/gitweb/?a=commitdiff_plain;h=875e6f6f18c96bfea4a43c951852921ee3f5ee75;p=jalview.git Clear selection when deleting all groups --- 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(); }