From: amwaterhouse Date: Thu, 8 Dec 2005 15:39:46 +0000 (+0000) Subject: Should call deselectAll when escape pressed X-Git-Tag: Release_2_07~26 X-Git-Url: http://source.jalview.org/gitweb/?a=commitdiff_plain;h=e78af69b55f5b95978094c6643ce884ba78efad2;p=jalview.git Should call deselectAll when escape pressed --- 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())