summaryrefslogtreecommitdiff
path: root/src/gui/widgets/radiobutton.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/widgets/radiobutton.cpp')
-rw-r--r--src/gui/widgets/radiobutton.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/gui/widgets/radiobutton.cpp b/src/gui/widgets/radiobutton.cpp
index ad1b5d902..87621e945 100644
--- a/src/gui/widgets/radiobutton.cpp
+++ b/src/gui/widgets/radiobutton.cpp
@@ -67,6 +67,7 @@
#include "client.h"
+#include "input/inputaction.h"
#include "input/keydata.h"
#include "resources/image.h"
@@ -240,7 +241,7 @@ void RadioButton::mouseExited(MouseEvent& event A_UNUSED)
void RadioButton::keyPressed(KeyEvent& event)
{
const int action = event.getActionId();
- if (action == Input::KEY_GUI_SELECT)
+ if (action == InputAction::GUI_SELECT)
{
setSelected(true);
distributeActionEvent();