git://source.jalview.org
/
jalview.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
dced869
)
Should call deselectAll when escape pressed
author
amwaterhouse
<Andrew Waterhouse>
Thu, 8 Dec 2005 15:39:46 +0000
(15:39 +0000)
committer
amwaterhouse
<Andrew Waterhouse>
Thu, 8 Dec 2005 15:39:46 +0000
(15:39 +0000)
src/jalview/appletgui/AlignmentPanel.java
patch
|
blob
|
history
diff --git
a/src/jalview/appletgui/AlignmentPanel.java
b/src/jalview/appletgui/AlignmentPanel.java
index
3771a57
..
81b999f
100755
(executable)
--- 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())
\r
{
\r
case 27: // escape key
\r
- av.setSelectionGroup(null);
\r
- alignFrame.alignPanel.repaint();
\r
+ alignFrame.deselectAllSequenceMenuItem_actionPerformed(null);
\r
break;
\r
case KeyEvent.VK_X:
\r
if (evt.isControlDown())
\r