aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas White <taw@physics.org>2020-05-06 16:08:45 +0200
committerThomas White <taw@physics.org>2020-07-29 18:42:57 +0200
commit2653a883956a099caf45a43dd7c86354e2fa4264 (patch)
tree8ad2384e2be4676c026a10141c4f95667ed4449a
parente5f570a6e29f85f8580bb57bc6d085ba50c4798a (diff)
Feedback when saving session
-rw-r--r--src/crystfel_gui.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/crystfel_gui.c b/src/crystfel_gui.c
index 818a5747..3309f361 100644
--- a/src/crystfel_gui.c
+++ b/src/crystfel_gui.c
@@ -314,7 +314,11 @@ static gint quit_sig(GtkWidget *widget, struct crystfelproject *proj)
static gint save_sig(GtkWidget *widget, struct crystfelproject *proj)
{
- save_project(proj);
+ if ( save_project(proj) == 0 ) {
+ STATUS("Saved project.\n");
+ } else {
+ ERROR("Could not save project.\n");
+ }
return FALSE;
}