From e78af69b55f5b95978094c6643ce884ba78efad2 Mon Sep 17 00:00:00 2001 From: amwaterhouse Date: Thu, 8 Dec 2005 15:39:46 +0000 Subject: [PATCH] Should call deselectAll when escape pressed --- src/jalview/appletgui/AlignmentPanel.java | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/jalview/appletgui/AlignmentPanel.java b/src/jalview/appletgui/AlignmentPanel.java index 3771a57..81b999f 100755 --- a/src/jalview/appletgui/AlignmentPanel.java +++ b/src/jalview/appletgui/AlignmentPanel.java @@ -112,8 +112,7 @@ public class AlignmentPanel extends Panel implements AdjustmentListener switch (evt.getKeyCode()) { case 27: // escape key - av.setSelectionGroup(null); - alignFrame.alignPanel.repaint(); + alignFrame.deselectAllSequenceMenuItem_actionPerformed(null); break; case KeyEvent.VK_X: if (evt.isControlDown()) -- 1.7.10.2