summaryrefslogtreecommitdiffhomepage
path: root/gui/options-dialog.cpp
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2016-12-09 12:45:29 +0100
committerStanislaw Halik <sthalik@misaki.pl>2016-12-09 12:54:55 +0100
commit5a5cf4bac9af84252b28e56b15b71708f8cd3b7b (patch)
tree19c4561fcf66ab32b2a629f74157f815c7b464d5 /gui/options-dialog.cpp
parentbad34742736f7d9ee781f77766629140a49d6f28 (diff)
gui, logic: allow toggle neck displacement
It was only possible to zero the values to turn it off.
Diffstat (limited to 'gui/options-dialog.cpp')
-rw-r--r--gui/options-dialog.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/gui/options-dialog.cpp b/gui/options-dialog.cpp
index 8190b0f7..51cfbcc7 100644
--- a/gui/options-dialog.cpp
+++ b/gui/options-dialog.cpp
@@ -92,6 +92,8 @@ OptionsDialog::OptionsDialog(std::function<void(bool)> pause_keybindings) :
tie_setting(main.tracklogging_enabled, ui.tracklogging_enabled);
+ tie_setting(main.neck_enable, ui.neck_enable);
+
ui.disable_translation->setChecked(QSettings(OPENTRACK_ORG).value("disable-translation", false).toBool());
struct tmp