From: amwaterhouse Date: Wed, 9 Mar 2005 18:37:50 +0000 (+0000) Subject: clear selection with escape key X-Git-Tag: Release_2_0~610 X-Git-Url: http://source.jalview.org/gitweb/?a=commitdiff_plain;h=ecb5ebdc2d8d549eeb63214bff868a8968fde50d;p=jalview.git clear selection with escape key --- diff --git a/src/jalview/gui/AlignmentPanel.java b/src/jalview/gui/AlignmentPanel.java index d4788f2..a5b50b4 100755 --- a/src/jalview/gui/AlignmentPanel.java +++ b/src/jalview/gui/AlignmentPanel.java @@ -67,6 +67,7 @@ public class AlignmentPanel extends GAlignmentPanel implements AdjustmentListene { case 27: // escape key av.setRubberbandGroup(null); + av.getSelection().clear(); RefreshPanels(); break; case KeyEvent.VK_X: