summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2015-03-13 23:10:37 +0100
committerStanislaw Halik <sthalik@misaki.pl>2015-03-13 23:10:37 +0100
commit2706e1e10d324971f7c3991de0fff1fcc716fb00 (patch)
tree32cc14b07f6927d3218579fc985a288a7f570897
parentbb33d568f141d85b728c17d2ad2677811e03cd47 (diff)
keyboard dialog also modifies main settings so save those too
-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 437365b4..c157078e 100644
--- a/facetracknoir/shortcut-dialog.cpp
+++ b/facetracknoir/shortcut-dialog.cpp
@@ -35,11 +35,13 @@ KeyboardShortcutDialog::KeyboardShortcutDialog()
void KeyboardShortcutDialog::doOK() {
s.b->save();
+ s.s_main.b->save();
this->close();
emit reload();
}
void KeyboardShortcutDialog::doCancel() {
s.b->reload();
+ s.s_main.b->reload();
close();
}