summaryrefslogtreecommitdiffhomepage
path: root/gui/options-dialog.cpp
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2016-09-24 13:51:47 +0200
committerStanislaw Halik <sthalik@misaki.pl>2016-09-24 13:51:47 +0200
commit783ad7d52940b978462afe7b743da72c4529542c (patch)
tree6f4301d807cf2f389598369048c58c42d26f139e /gui/options-dialog.cpp
parent2b02544134e5c1badd036f183d2908405d5348a8 (diff)
logic, gui: allow for disabling any of the three tcomp options
Issue: #458 Requested-by: @Borisovich
Diffstat (limited to 'gui/options-dialog.cpp')
-rw-r--r--gui/options-dialog.cpp5
1 files changed, 4 insertions, 1 deletions
diff --git a/gui/options-dialog.cpp b/gui/options-dialog.cpp
index be846b35..71297a59 100644
--- a/gui/options-dialog.cpp
+++ b/gui/options-dialog.cpp
@@ -45,7 +45,10 @@ OptionsDialog::OptionsDialog(std::function<void(bool)> pause_keybindings) :
tie_setting(main.center_at_startup, ui.center_at_startup);
tie_setting(main.tcomp_p, ui.tcomp_enable);
- tie_setting(main.tcomp_tz, ui.tcomp_rz);
+
+ tie_setting(main.tcomp_disable_tx, ui.tcomp_tx_disable);
+ tie_setting(main.tcomp_disable_ty, ui.tcomp_ty_disable);
+ tie_setting(main.tcomp_disable_tz, ui.tcomp_tz_disable);
tie_setting(main.a_x.zero, ui.pos_tx);
tie_setting(main.a_y.zero, ui.pos_ty);