summaryrefslogtreecommitdiffstats
path: root/src/ui/maindialog.cpp
diff options
context:
space:
mode:
authorkrzys-h <krzys_h@interia.pl>2013-12-25 19:41:15 +0100
committerkrzys-h <krzys_h@interia.pl>2013-12-25 19:41:15 +0100
commit5661f5a413836307c7a2943ba32cfd17f92480ea (patch)
tree84231ba002ed4c3faa90c7a2da28b4c455e2cfa1 /src/ui/maindialog.cpp
parent55fd03ade36f30c5ac18b5e9037622d0872d9bf3 (diff)
downloadcolobot-5661f5a413836307c7a2943ba32cfd17f92480ea.tar.gz
colobot-5661f5a413836307c7a2943ba32cfd17f92480ea.tar.bz2
colobot-5661f5a413836307c7a2943ba32cfd17f92480ea.zip
Fixed "default controls" button (#263)
Diffstat (limited to 'src/ui/maindialog.cpp')
-rw-r--r--src/ui/maindialog.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ui/maindialog.cpp b/src/ui/maindialog.cpp
index 5e95685..7cbcef5 100644
--- a/src/ui/maindialog.cpp
+++ b/src/ui/maindialog.cpp
@@ -2881,7 +2881,7 @@ bool CMainDialog::EventProcess(const Event &event)
break;
case EVENT_INTERFACE_KDEF:
- m_app->ResetKeyStates();
+ m_main->SetDefaultInputBindings();
UpdateKey();
break;