aboutsummaryrefslogtreecommitdiff
path: root/src/gui_project.h
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.h
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.h')
-rw-r--r--src/gui_project.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gui_project.h b/src/gui_project.h
index d698e720..c75f36e2 100644
--- a/src/gui_project.h
+++ b/src/gui_project.h
@@ -244,6 +244,7 @@ struct gui_task
GtkWidget *progress_bar;
int running;
struct crystfel_backend *backend;
+ struct crystfelproject *proj;
void *job_priv;
};
@@ -312,6 +313,7 @@ struct crystfelproject {
int n_backends;
GSList *tasks;
+ int scanned_since_last_job_finished;
struct gui_indexing_result *results;
int n_results;