summaryrefslogtreecommitdiffhomepage
path: root/spline
diff options
context:
space:
mode:
Diffstat (limited to 'spline')
-rw-r--r--spline/spline.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/spline/spline.cpp b/spline/spline.cpp
index d58d7c21..4a5da6f3 100644
--- a/spline/spline.cpp
+++ b/spline/spline.cpp
@@ -360,9 +360,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::signal_fun<int>(),
+ conn_maxx = QObject::connect(&s->opts.clamp_x_, base_value::value_changed<int>(),
ctx.get(), [&](double) { invalidate_settings(); });
- conn_maxy = QObject::connect(&s->opts.clamp_y_, base_value::signal_fun<int>(),
+ conn_maxy = QObject::connect(&s->opts.clamp_y_, base_value::value_changed<int>(),
ctx.get(), [&](double) { invalidate_settings(); });
}