summaryrefslogtreecommitdiff
path: root/src/gui/setup_joystick.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/setup_joystick.cpp')
-rw-r--r--src/gui/setup_joystick.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/gui/setup_joystick.cpp b/src/gui/setup_joystick.cpp
index 59cfefa4..dfa446ab 100644
--- a/src/gui/setup_joystick.cpp
+++ b/src/gui/setup_joystick.cpp
@@ -45,7 +45,7 @@ Setup_Joystick::Setup_Joystick():
mCalibrateButton->setPosition(10, 30 + mCalibrateLabel->getHeight());
mOriginalJoystickEnabled = (int)config.getValue("joystickEnabled", 0) != 0;
- mJoystickEnabled->setMarked(mOriginalJoystickEnabled);
+ mJoystickEnabled->setSelected(mOriginalJoystickEnabled);
mJoystickEnabled->addActionListener(this);
@@ -62,7 +62,7 @@ void Setup_Joystick::action(const gcn::ActionEvent &event)
if (event.getSource() == mJoystickEnabled)
{
- joystick->setEnabled(mJoystickEnabled->isMarked());
+ joystick->setEnabled(mJoystickEnabled->isSelected());
}
else
{
@@ -85,7 +85,7 @@ void Setup_Joystick::cancel()
{
joystick->setEnabled(mOriginalJoystickEnabled);
}
- mJoystickEnabled->setMarked(mOriginalJoystickEnabled);
+ mJoystickEnabled->setSelected(mOriginalJoystickEnabled);
}
void Setup_Joystick::apply()