aboutsummaryrefslogtreecommitdiff
path: root/src/gui_project.c
diff options
context:
space:
mode:
authorThomas White <taw@physics.org>2021-05-11 11:14:54 +0200
committerThomas White <taw@physics.org>2021-05-11 11:14:54 +0200
commit1d362a2b6455049d8f593094265492097e530c8d (patch)
tree7a581a8eff55dbc84282dd0daed4f45367707f3b /src/gui_project.c
parentd22d7a79c3cded54dd9203622ee0071bdcea8527 (diff)
GUI: Ensure that streams get re-scanned after job termination
Previously, they would not get scanned because no job was running. We need one more scan after a job exits to make sure everything is up to date.
Diffstat (limited to 'src/gui_project.c')
-rw-r--r--src/gui_project.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gui_project.c b/src/gui_project.c
index d0bf66db..7229cbcd 100644
--- a/src/gui_project.c
+++ b/src/gui_project.c
@@ -1105,6 +1105,7 @@ void default_project(struct crystfelproject *proj)
proj->merging_opts = NULL;
proj->ambi_opts = NULL;
proj->tasks = NULL;
+ proj->scanned_since_last_job_finished = 0;
proj->indexing_new_job_title = NULL;
proj->merging_new_job_title = NULL;
proj->ambi_new_job_title = NULL;