diff options
author | Bent Bisballe Nyeng <deva@aasimon.org> | 2015-11-20 20:36:36 +0100 |
---|---|---|
committer | Bent Bisballe Nyeng <deva@aasimon.org> | 2015-11-20 20:36:36 +0100 |
commit | db6d5834361a2e660301e9511058e370fb884cc5 (patch) | |
tree | dfd1faae8979a2fa1db886333141be7ce2799b3b /plugingui/lineedit.cc | |
parent | 60516dd77c6b32379fe4103ace3879ee71a5cda4 (diff) |
Move text cursor on key down instead of key up; feels more responsive that way.
Diffstat (limited to 'plugingui/lineedit.cc')
-rw-r--r-- | plugingui/lineedit.cc | 2 |
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: |