clustalColour bug fixed, clear selection
authoramwaterhouse <Andrew Waterhouse>
Tue, 25 Jan 2005 17:06:09 +0000 (17:06 +0000)
committeramwaterhouse <Andrew Waterhouse>
Tue, 25 Jan 2005 17:06:09 +0000 (17:06 +0000)
src/jalview/gui/AlignFrame.java

index f5d2e0c..b0d1b32 100755 (executable)
@@ -33,6 +33,7 @@ public class AlignFrame extends GAlignFrame
   public AlignFrame(AlignmentI al)\r
   {\r
     super();\r
+\r
     viewport = new AlignViewport(al,true,true,true,false);\r
     alignPanel = new AlignmentPanel(this, viewport);\r
     getContentPane().add(alignPanel, java.awt.BorderLayout.CENTER);\r
@@ -222,6 +223,7 @@ public class AlignFrame extends GAlignFrame
 \r
   public void deselectAllSequenceMenuItem_actionPerformed(ActionEvent e)\r
   {\r
+    viewport.setRubberbandGroup(null);\r
     viewport.getSelection().clear();\r
     PaintRefresher.Refresh(null);\r
   }\r
@@ -474,7 +476,7 @@ public class AlignFrame extends GAlignFrame
   }\r
 \r
 \r
-  public void Colour_actionPerformed(ActionEvent e)\r
+  public void clustalColour_actionPerformed(ActionEvent e)\r
   {\r
     viewport.setGlobalColourScheme(new ClustalxColourScheme( ));\r
     conservationMenuItem.setSelected(false);\r