summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/CurveEditor.cxx2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/CurveEditor.cxx b/src/CurveEditor.cxx
index ec8fc25..b2db446 100644
--- a/src/CurveEditor.cxx
+++ b/src/CurveEditor.cxx
@@ -87,6 +87,8 @@ CurveEditor::handle(int event) {
marked_point < n - 1 && mark_x >= X[marked_point + 1]) {
remove_point(marked_point);
marked_point = -1;
+ if (cb)
+ cb(this, cb_data);
} else
move_point(marked_point, mark_x, mark_y);
return 1;