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: Release_2_11_1_1~22^2~24^2 X-Git-Url: http://source.jalview.org/gitweb/?a=commitdiff_plain;h=cfdde25ee8c4f6284b2422d3768b96f02bffc090;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 b7d8b3a..2db0884 100644 --- a/src/jalview/gui/AlignFrame.java +++ b/src/jalview/gui/AlignFrame.java @@ -2450,7 +2450,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