summaryrefslogtreecommitdiff
path: root/plugingui/checkbox.cc
diff options
context:
space:
mode:
authorBent Bisballe Nyeng <deva@aasimon.org>2015-10-26 19:48:30 +0100
committerBent Bisballe Nyeng <deva@aasimon.org>2015-10-26 19:48:30 +0100
commit88ad7366a3eb6bc73bc99078ae13302099b76f09 (patch)
tree64a5f5b3a4b5c187d25e21e21bf2808f12367820 /plugingui/checkbox.cc
parentb84e5f74e5513e4cd14fe62b03777be8ee9c2537 (diff)
Refactored LineEdit and FileBrowser. Renamed all KEY_XYZ event types to KeyXyz.
Diffstat (limited to 'plugingui/checkbox.cc')
-rw-r--r--plugingui/checkbox.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugingui/checkbox.cc b/plugingui/checkbox.cc
index c085be9..6d85615 100644
--- a/plugingui/checkbox.cc
+++ b/plugingui/checkbox.cc
@@ -65,7 +65,7 @@ void CheckBox::setText(std::string text)
void CheckBox::keyEvent(KeyEvent *e)
{
- if(e->keycode == KeyEvent::KEY_CHARACTER && e->text == " ")
+ if(e->keycode == KeyEvent::KeyCharacter && e->text == " ")
{
if(e->direction == KeyEvent::Up)
{