Clear selection when deleting all groups
authoramwaterhouse <Andrew Waterhouse>
Mon, 24 Jan 2005 17:24:52 +0000 (17:24 +0000)
committeramwaterhouse <Andrew Waterhouse>
Mon, 24 Jan 2005 17:24:52 +0000 (17:24 +0000)
src/jalview/gui/AlignFrame.java

index 1d6cbf4..f5d2e0c 100755 (executable)
@@ -205,6 +205,8 @@ public class AlignFrame extends GAlignFrame
   protected void deleteGroups_actionPerformed(ActionEvent e)\r
   {\r
     viewport.alignment.deleteAllGroups();\r
+    viewport.getSelection().clear();\r
+\r
     alignPanel.RefreshPanels();\r
   }\r
 \r