aboutsummaryrefslogtreecommitdiff
path: root/gui/KeysDialog.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'gui/KeysDialog.cpp')
-rw-r--r--gui/KeysDialog.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/gui/KeysDialog.cpp b/gui/KeysDialog.cpp
index fcf9201877..68e9bd836d 100644
--- a/gui/KeysDialog.cpp
+++ b/gui/KeysDialog.cpp
@@ -82,7 +82,7 @@ void KeysDialog::handleCommand(CommandSender *sender, uint32 cmd, uint32 data) {
selection = Common::String::format(_("Associated key : none"));
_keyMapping->setLabel(selection);
- _keyMapping->draw();
+ _keyMapping->markAsDirty();
}
break;
case kMapCmd:
@@ -105,11 +105,11 @@ void KeysDialog::handleCommand(CommandSender *sender, uint32 cmd, uint32 data) {
_actionTitle->setLabel(_("Press the key to associate"));
_keyMapping->setLabel(selection);
- _keyMapping->draw();
+ _keyMapping->markAsDirty();
Actions::Instance()->beginMapping(true);
_actionsList->setEnabled(false);
}
- _actionTitle->draw();
+ _actionTitle->markAsDirty();
break;
case kOKCmd:
Actions::Instance()->saveMapping();
@@ -144,8 +144,8 @@ void KeysDialog::handleKeyUp(Common::KeyState state) {
_actionTitle->setLabel(_("Choose an action to map"));
_keyMapping->setLabel(selection);
- _keyMapping->draw();
- _actionTitle->draw();
+ _keyMapping->markAsDirty();
+ _actionTitle->markAsDirty();
_actionSelected = -1;
_actionsList->setEnabled(true);
Actions::Instance()->beginMapping(false);