JAL-3493 clear search highlights when escape/deselect all
authorJim Procter <jprocter@issues.jalview.org>
Mon, 29 Jun 2020 16:24:29 +0000 (17:24 +0100)
committerJim Procter <jprocter@issues.jalview.org>
Mon, 29 Jun 2020 17:34:27 +0000 (18:34 +0100)
 Conflicts:
src/jalview/gui/AlignFrame.java
patch migrated to src/jalview/gui/AligmentPanel.java

src/jalview/gui/AlignmentPanel.java

index 7758dae..08843aa 100644 (file)
@@ -1942,7 +1942,7 @@ public class AlignmentPanel extends GAlignmentPanel implements
     }
     av.setSelectionGroup(null);
     av.getColumnSelection().clear();
-    av.setSelectionGroup(null);
+    viewport.setSearchResults(null);
     getIdPanel().getIdCanvas().searchResults = null;
     av.sendSelection();
     // JAL-2034 - should delegate to