From 8e022f0d1ad5628c2bf9a97a16b16fd1cff5196c Mon Sep 17 00:00:00 2001 From: Stanislaw Halik Date: Thu, 18 Jun 2015 10:43:31 +0200 Subject: minor fixes now --- facetracknoir/options-dialog.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'facetracknoir/options-dialog.cpp') diff --git a/facetracknoir/options-dialog.cpp b/facetracknoir/options-dialog.cpp index 08c92ee8..705f7672 100644 --- a/facetracknoir/options-dialog.cpp +++ b/facetracknoir/options-dialog.cpp @@ -67,7 +67,7 @@ OptionsDialog::OptionsDialog(State& state) : state(state), trans_calib_running(f tie_setting(pt.fov, ui.camera_fov); - tie_setting(pt.is_cap, ui.model_cap); + tie_setting(pt.model_used, ui.model_used); tie_setting(acc.rot_threshold, ui.rotation_slider); tie_setting(acc.trans_threshold, ui.translation_slider); @@ -84,6 +84,7 @@ void OptionsDialog::doOK() { s.b->save(); pt.b->save(); s.s_main.b->save(); + acc.b->save(); ui.game_detector->save(); this->close(); emit reload(); @@ -93,6 +94,7 @@ void OptionsDialog::doCancel() { s.b->reload(); pt.b->reload(); s.s_main.b->reload(); + acc.b->reload(); ui.game_detector->revert(); close(); } -- cgit v1.2.3