summaryrefslogtreecommitdiffhomepage
path: root/facetracknoir/shortcut-dialog.cpp
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2015-05-22 17:00:10 +0200
committerStanislaw Halik <sthalik@misaki.pl>2015-05-22 17:00:10 +0200
commit0148b26e427d7a5bbe24cdff14f3e035dc19bd1c (patch)
tree2ba08da225039948586aee8b17d87c4ed3aa6d36 /facetracknoir/shortcut-dialog.cpp
parent65bad699fc8472b49189a412f730409eb2e96311 (diff)
main: allow automatically run profiles when executables run
Issue: #160
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();
}