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:
f6e71b6
)
JAL-1322 only update slider when return is pressed
author
Jim Procter
<jprocter@dundee.ac.uk>
Sun, 27 Apr 2014 22:12:56 +0000
(23:12 +0100)
committer
Jim Procter
<jprocter@dundee.ac.uk>
Sun, 27 Apr 2014 22:12:56 +0000
(23:12 +0100)
src/jalview/gui/OptsAndParamsPage.java
patch
|
blob
|
history
diff --git
a/src/jalview/gui/OptsAndParamsPage.java
b/src/jalview/gui/OptsAndParamsPage.java
index
3bc99dd
..
411aba3
100644
(file)
--- a/
src/jalview/gui/OptsAndParamsPage.java
+++ b/
src/jalview/gui/OptsAndParamsPage.java
@@
-594,9
+594,12
@@
public class OptsAndParamsPage
@Override
public void keyReleased(KeyEvent e)
{
- if (valueField.getText().trim().length() > 0)
+ if (e.isActionKey())
{
- actionPerformed(null);
+ if (valueField.getText().trim().length() > 0)
+ {
+ actionPerformed(null);
+ }
}
}