From: Jim Procter Date: Mon, 29 Jun 2020 16:24:29 +0000 (+0100) Subject: JAL-3493 clear search highlights when escape/deselect all X-Git-Tag: Develop-2_11_2_0-d20201215~24^2~34 X-Git-Url: http://source.jalview.org/gitweb/?a=commitdiff_plain;h=7c41e0253551a494219c4f1133a1aa2fe591b97a;p=jalview.git JAL-3493 clear search highlights when escape/deselect all --- 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