Set keyboard numbers to null if esc pressed
authoramwaterhouse <Andrew Waterhouse>
Tue, 4 Apr 2006 10:50:04 +0000 (10:50 +0000)
committeramwaterhouse <Andrew Waterhouse>
Tue, 4 Apr 2006 10:50:04 +0000 (10:50 +0000)
src/jalview/appletgui/AlignFrame.java

index 7a0052f..6b79018 100755 (executable)
@@ -931,6 +931,11 @@ public void itemStateChanged(ItemEvent evt)
 \r
   public void deselectAllSequenceMenuItem_actionPerformed()\r
   {\r
+    if(viewport.cursorMode)\r
+    {\r
+      alignPanel.seqPanel.keyboardNo1=null;\r
+      alignPanel.seqPanel.keyboardNo2=null;\r
+    }\r
     viewport.setSelectionGroup(null);\r
     viewport.getColumnSelection().clear();\r
     viewport.setSelectionGroup(null);\r