diff options
Diffstat (limited to 'gui/curve-config.cpp')
-rw-r--r-- | gui/curve-config.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/gui/curve-config.cpp b/gui/curve-config.cpp index 61459c1c..3b56dbb8 100644 --- a/gui/curve-config.cpp +++ b/gui/curve-config.cpp @@ -8,7 +8,7 @@ #include "curve-config.h" #include "opentrack-logic/main-settings.hpp" -MapWidget::MapWidget(Mappings& m, main_settings& s) : +MapWidget::MapWidget(Mappings& m) : m(m) { ui.setupUi( this ); @@ -68,6 +68,8 @@ MapWidget::MapWidget(Mappings& m, main_settings& s) : connect(ui.buttonBox, SIGNAL(accepted()), this, SLOT(doOK())); connect(ui.buttonBox, SIGNAL(rejected()), this, SLOT(doCancel())); + main_settings s; + tie_setting(s.a_x.altp, ui.tx_altp); tie_setting(s.a_y.altp, ui.ty_altp); tie_setting(s.a_z.altp, ui.tz_altp); |