From 98536d936ab329ba78a8ad21a5608b449452cb02 Mon Sep 17 00:00:00 2001 From: Stanislaw Halik Date: Thu, 9 Mar 2017 11:08:08 +0100 Subject: logic/mappings: set max input not only in the dialog 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. --- logic/mappings.hpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'logic') 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) -- cgit v1.2.3