diff options
Diffstat (limited to 'spline')
-rw-r--r-- | spline/spline.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/spline/spline.cpp b/spline/spline.cpp index 64a9142d..fc437bb9 100644 --- a/spline/spline.cpp +++ b/spline/spline.cpp @@ -355,9 +355,9 @@ void spline::set_bundle(bundle b, const QString& axis_name, Axis axis) s.get(), [&] { invalidate_settings(); }); // this isn't strictly necessary for the spline but helps the widget - conn_maxx = QObject::connect(&s->opts.clamp_x_, base_value::value_changed<int>(), + conn_maxx = QObject::connect(&s->opts.clamp_x_, value_::value_changed<int>(), ctx.get(), [&](double) { invalidate_settings(); }); - conn_maxy = QObject::connect(&s->opts.clamp_y_, base_value::value_changed<int>(), + conn_maxy = QObject::connect(&s->opts.clamp_y_, value_::value_changed<int>(), ctx.get(), [&](double) { invalidate_settings(); }); } |