projects
/
naja.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
23b55a9
)
And ASDF too
author
Stefano Rivera
<stefano@rivera.za.net>
Tue, 13 May 2014 17:55:54 +0000
(19:55 +0200)
committer
Stefano Rivera
<stefano@rivera.za.net>
Tue, 13 May 2014 17:55:54 +0000
(19:55 +0200)
naja/widgets/selector.py
patch
|
blob
|
history
diff --git
a/naja/widgets/selector.py
b/naja/widgets/selector.py
index 9b7b52391c62de4285cc741d0aa70f7279677f06..5047cf8296a8cfa794f2ee92b32aa5909ee5b345 100644
(file)
--- a/
naja/widgets/selector.py
+++ b/
naja/widgets/selector.py
@@
-22,8
+22,8
@@
class SelectorWidget(Container):
def handle_event(self, ev):
if ev.type == pgl.KEYDOWN:
- if ev.key in (pgl.K_DOWN, pgl.K_UP):
- if ev.key
== pgl.K_DOWN
:
+ if ev.key in (pgl.K_DOWN, pgl.K_UP
, pgl.K_s, pgl.K_w
):
+ if ev.key
in (pgl.K_DOWN, pgl.K_s)
:
self.position += 1
else:
self.position -= 1