summaryrefslogtreecommitdiffhomepage
path: root/facetracknoir/shortcut-dialog.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'facetracknoir/shortcut-dialog.cpp')
-rw-r--r--facetracknoir/shortcut-dialog.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/facetracknoir/shortcut-dialog.cpp b/facetracknoir/shortcut-dialog.cpp
index c157078e..b4c236c6 100644
--- a/facetracknoir/shortcut-dialog.cpp
+++ b/facetracknoir/shortcut-dialog.cpp
@@ -36,6 +36,7 @@ KeyboardShortcutDialog::KeyboardShortcutDialog()
void KeyboardShortcutDialog::doOK() {
s.b->save();
s.s_main.b->save();
+ ui.game_detector->save();
this->close();
emit reload();
}
@@ -43,5 +44,6 @@ void KeyboardShortcutDialog::doOK() {
void KeyboardShortcutDialog::doCancel() {
s.b->reload();
s.s_main.b->reload();
+ ui.game_detector->revert();
close();
}