diff options
author | Thomas White <taw@physics.org> | 2021-02-19 11:29:08 +0100 |
---|---|---|
committer | Thomas White <taw@physics.org> | 2021-02-19 11:29:08 +0100 |
commit | c967e898771711498964016a93f2530ba0e0dbe9 (patch) | |
tree | 3874327f09a0e7b9b7ed1ed5bf37a967402f8c5c /src/gui_project.h | |
parent | df4b2e604dc0984879e2f417ca5ae1ab7066f539 (diff) |
GUI: Don't re-scan streams so often
It only makes sense to re-scan if there is a job running, but this also
adds a manual re-scan button for rare exceptions.
Diffstat (limited to 'src/gui_project.h')
-rw-r--r-- | src/gui_project.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/gui_project.h b/src/gui_project.h index 7ab607d2..2289ffff 100644 --- a/src/gui_project.h +++ b/src/gui_project.h @@ -348,7 +348,10 @@ extern int add_indexing_result(struct crystfelproject *proj, extern struct image *find_indexed_image(struct crystfelproject *proj, const char *result_name, const char *filename, - const char *event); + const char *event, + int permit_rescan); + +extern void update_result_index(struct gui_indexing_result *result); extern struct gui_indexing_result *find_indexing_result_by_name(struct crystfelproject *proj, const char *name); |