From: amwaterhouse Date: Tue, 4 Apr 2006 10:50:04 +0000 (+0000) Subject: Set keyboard numbers to null if esc pressed X-Git-Tag: Release_2_08~72 X-Git-Url: http://source.jalview.org/gitweb/?a=commitdiff_plain;h=49444a1e7e2cf192e386e28732175fd2cf59bbad;p=jalview.git Set keyboard numbers to null if esc pressed --- diff --git a/src/jalview/appletgui/AlignFrame.java b/src/jalview/appletgui/AlignFrame.java index 7a0052f..6b79018 100755 --- a/src/jalview/appletgui/AlignFrame.java +++ b/src/jalview/appletgui/AlignFrame.java @@ -931,6 +931,11 @@ public void itemStateChanged(ItemEvent evt) public void deselectAllSequenceMenuItem_actionPerformed() { + if(viewport.cursorMode) + { + alignPanel.seqPanel.keyboardNo1=null; + alignPanel.seqPanel.keyboardNo2=null; + } viewport.setSelectionGroup(null); viewport.getColumnSelection().clear(); viewport.setSelectionGroup(null);