summaryrefslogtreecommitdiffhomepage
path: root/facetracknoir/curve-config.cpp
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2013-09-15 04:32:44 +0200
committerStanislaw Halik <sthalik@misaki.pl>2013-09-15 04:32:44 +0200
commit7b0ce8034456271ab0ea15da9b60fe9b94d75dc0 (patch)
tree62e2dfa60e418efeb47f94b1dda2b623e46fa77a /facetracknoir/curve-config.cpp
parent842d261e5d0d2af65b6327288cecc845d452db5a (diff)
Don't use tracker.cpp indirection for updating zeroing
Diffstat (limited to 'facetracknoir/curve-config.cpp')
-rw-r--r--facetracknoir/curve-config.cpp8
1 files changed, 3 insertions, 5 deletions
diff --git a/facetracknoir/curve-config.cpp b/facetracknoir/curve-config.cpp
index 5421c670..1bb40078 100644
--- a/facetracknoir/curve-config.cpp
+++ b/facetracknoir/curve-config.cpp
@@ -230,14 +230,12 @@ void CurveConfigurationDialog::save() {
};
for (int i = 0; i < 6; i++)
+ {
iniFile.setValue(names2[i], widgets2[i]->value());
+ mainApp->axis(i).zero = widgets2[i]->value();
+ }
iniFile.endGroup();
settingsDirty = false;
-
- //
- // Send a message to the main program, to update the Settings (for the tracker)
- //
- mainApp->update_tracker_settings();
}