aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/gui_project.c8
1 files changed, 5 insertions, 3 deletions
diff --git a/src/gui_project.c b/src/gui_project.c
index 3eb2293d..3e8eb970 100644
--- a/src/gui_project.c
+++ b/src/gui_project.c
@@ -641,9 +641,11 @@ static void read_results(FILE *fh, struct crystfelproject *proj)
}
if ( strcmp(line, "-----") == 0 ) {
- add_result(proj, results_name,
- streams, n_streams, selected,
- hkl);
+ if ( !first ) {
+ add_result(proj, results_name,
+ streams, n_streams, selected,
+ hkl);
+ }
break;
}