aboutsummaryrefslogtreecommitdiff
path: root/src/gui_peaksearch.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui_peaksearch.c')
-rw-r--r--src/gui_peaksearch.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/gui_peaksearch.c b/src/gui_peaksearch.c
index 0fdea92d..5d4903cd 100644
--- a/src/gui_peaksearch.c
+++ b/src/gui_peaksearch.c
@@ -150,6 +150,7 @@ static void int_param_callback(GtkWidget *entry,
}
*(cbvals->pival) = val;
+ cbvals->proj->unsaved = 1;
update_peaks(cbvals->proj);
}
@@ -167,6 +168,7 @@ static void float_param_callback(GtkWidget *entry,
}
*(cbvals->pfval) = val;
+ cbvals->proj->unsaved = 1;
update_peaks(cbvals->proj);
}
@@ -356,6 +358,7 @@ static void peaksearch_algo_changed(GtkWidget *combo,
/* FIXME: Radii */
gtk_widget_show_all(proj->peak_vbox);
+ proj->unsaved = 1;
update_peaks(proj);
}