summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBent Bisballe Nyeng <deva@aasimon.org>2015-11-20 20:36:36 +0100
committerBent Bisballe Nyeng <deva@aasimon.org>2015-11-20 20:36:36 +0100
commitdb6d5834361a2e660301e9511058e370fb884cc5 (patch)
treedfd1faae8979a2fa1db886333141be7ce2799b3b
parent60516dd77c6b32379fe4103ace3879ee71a5cda4 (diff)
Move text cursor on key down instead of key up; feels more responsive that way.
-rw-r--r--plugingui/lineedit.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugingui/lineedit.cc b/plugingui/lineedit.cc
index 1a9b8c8..2df40ff 100644
--- a/plugingui/lineedit.cc
+++ b/plugingui/lineedit.cc
@@ -120,7 +120,7 @@ void LineEdit::keyEvent(KeyEvent *keyEvent)
bool change = false;
- if(keyEvent->direction == Direction::up)
+ if(keyEvent->direction == Direction::down)
{
switch(keyEvent->keycode) {
case Key::left: