summaryrefslogtreecommitdiff
path: root/plugingui/eventhandler.cc
diff options
context:
space:
mode:
authorBent Bisballe Nyeng <deva@aasimon.org>2013-03-09 20:12:23 +0100
committerBent Bisballe Nyeng <deva@aasimon.org>2013-03-09 20:12:23 +0100
commit08e96c97f7524190c40a1c5482076874f394a6a7 (patch)
tree93df09c80f05b884dd969c938a8f7665c9e23ef6 /plugingui/eventhandler.cc
parent221f7216d1b6fda90f1aba36b2509aa62e158bee (diff)
Make knob controllable using the arrow keys.
Diffstat (limited to 'plugingui/eventhandler.cc')
-rw-r--r--plugingui/eventhandler.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugingui/eventhandler.cc b/plugingui/eventhandler.cc
index 57718c2..b971b15 100644
--- a/plugingui/eventhandler.cc
+++ b/plugingui/eventhandler.cc
@@ -498,9 +498,9 @@ void GUI::EventHandler::processEvents(Window *window)
if(be->direction == 1) {
if(w->catchMouse()) window->setButtonDownFocus(w);
- } else {
- if(w->isFocusable()) window->setKeyboardFocus(w);
}
+
+ if(w->isFocusable()) window->setKeyboardFocus(w);
}
}
break;