summaryrefslogtreecommitdiffhomepage
path: root/logic/mappings.hpp
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2017-03-09 11:08:08 +0100
committerStanislaw Halik <sthalik@misaki.pl>2017-03-09 11:08:19 +0100
commit98536d936ab329ba78a8ad21a5608b449452cb02 (patch)
treecef963409e7c152e8e688f4eff382c8b1db155cd /logic/mappings.hpp
parentc90b6b5ff1aec5d32f0b54890f6d62c25ed19a0e (diff)
logic/mappings: set max input not only in the dialogopentrack-2.3.1.4
The setting is saved, but ignored other than when dealing with the mapping dialog. This breaks the functionality prior to manual open of the mapping dialog. This may not be the cause of #568 but is related.
Diffstat (limited to 'logic/mappings.hpp')
-rw-r--r--logic/mappings.hpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/logic/mappings.hpp b/logic/mappings.hpp
index 030aa254..cd3bddeb 100644
--- a/logic/mappings.hpp
+++ b/logic/mappings.hpp
@@ -25,6 +25,8 @@ struct Map final
spline_main(max_x, max_y, primary),
spline_alt(max_x, max_y, secondary)
{
+ spline_main.set_max_input(opts.clamp);
+ spline_alt.set_max_input(opts.clamp);
}
void save(QSettings& s)