From: amwaterhouse Date: Tue, 6 Dec 2005 11:05:14 +0000 (+0000) Subject: Clear highlighted residues X-Git-Url: http://source.jalview.org/gitweb/?a=commitdiff_plain;h=0966c1ef3ea179ff8fbe7ced753c1dfc0d4fcb0a;p=jalview.git Clear highlighted residues --- diff --git a/src/jalview/appletgui/AlignFrame.java b/src/jalview/appletgui/AlignFrame.java index 117dd14..cf4c40d 100755 --- a/src/jalview/appletgui/AlignFrame.java +++ b/src/jalview/appletgui/AlignFrame.java @@ -648,6 +648,7 @@ public class AlignFrame extends Frame viewport.setSelectionGroup(null); viewport.getColumnSelection().clear(); viewport.setSelectionGroup(null); + alignPanel.seqPanel.seqCanvas.highlightSearchResults(null); alignPanel.repaint(); PaintRefresher.Refresh(null, viewport.alignment); } diff --git a/src/jalview/gui/AlignFrame.java b/src/jalview/gui/AlignFrame.java index 210c44f..8c31ed0 100755 --- a/src/jalview/gui/AlignFrame.java +++ b/src/jalview/gui/AlignFrame.java @@ -978,6 +978,7 @@ public class AlignFrame viewport.setSelectionGroup(null); viewport.getColumnSelection().clear(); viewport.setSelectionGroup(null); + alignPanel.seqPanel.seqCanvas.highlightSearchResults(null); alignPanel.annotationPanel.activeRes = null; PaintRefresher.Refresh(null, viewport.alignment); }