From 49444a1e7e2cf192e386e28732175fd2cf59bbad Mon Sep 17 00:00:00 2001 From: amwaterhouse Date: Tue, 4 Apr 2006 10:50:04 +0000 Subject: [PATCH] Set keyboard numbers to null if esc pressed --- src/jalview/appletgui/AlignFrame.java | 5 +++++ 1 file changed, 5 insertions(+) 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); -- 1.7.10.2