From 7c41e0253551a494219c4f1133a1aa2fe591b97a Mon Sep 17 00:00:00 2001 From: Jim Procter Date: Mon, 29 Jun 2020 17:24:29 +0100 Subject: [PATCH] JAL-3493 clear search highlights when escape/deselect all --- src/jalview/gui/AlignFrame.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/jalview/gui/AlignFrame.java b/src/jalview/gui/AlignFrame.java index ef40261..910ab63 100644 --- a/src/jalview/gui/AlignFrame.java +++ b/src/jalview/gui/AlignFrame.java @@ -2512,7 +2512,7 @@ public class AlignFrame extends GAlignFrame implements DropTargetListener, } viewport.setSelectionGroup(null); viewport.getColumnSelection().clear(); - viewport.setSelectionGroup(null); + viewport.setSearchResults(null); alignPanel.getIdPanel().getIdCanvas().searchResults = null; // JAL-2034 - should delegate to // alignPanel to decide if overview needs -- 1.7.10.2