Clear highlighted residues
authoramwaterhouse <Andrew Waterhouse>
Tue, 6 Dec 2005 11:05:14 +0000 (11:05 +0000)
committeramwaterhouse <Andrew Waterhouse>
Tue, 6 Dec 2005 11:05:14 +0000 (11:05 +0000)
src/jalview/appletgui/AlignFrame.java
src/jalview/gui/AlignFrame.java

index 117dd14..cf4c40d 100755 (executable)
@@ -648,6 +648,7 @@ public class AlignFrame extends Frame
     viewport.setSelectionGroup(null);\r
     viewport.getColumnSelection().clear();\r
     viewport.setSelectionGroup(null);\r
+    alignPanel.seqPanel.seqCanvas.highlightSearchResults(null);\r
     alignPanel.repaint();\r
     PaintRefresher.Refresh(null, viewport.alignment);\r
   }\r
index 210c44f..8c31ed0 100755 (executable)
@@ -978,6 +978,7 @@ public class AlignFrame
     viewport.setSelectionGroup(null);\r
     viewport.getColumnSelection().clear();\r
     viewport.setSelectionGroup(null);\r
+    alignPanel.seqPanel.seqCanvas.highlightSearchResults(null);\r
     alignPanel.annotationPanel.activeRes = null;\r
     PaintRefresher.Refresh(null, viewport.alignment);\r
   }\r