aboutsummaryrefslogtreecommitdiff
path: root/src/gui_peaksearch.c
diff options
context:
space:
mode:
authorThomas White <taw@physics.org>2020-09-02 16:30:50 +0200
committerThomas White <taw@physics.org>2020-09-02 16:39:55 +0200
commit4086b3fd5d5baa1003f2b60364aad57b0f5aa47a (patch)
tree820c5df5847728cc590462a2404310d886ffa44b /src/gui_peaksearch.c
parenta480e87e9bef81b2f27970b0dae8566d28bc8e9b (diff)
New way of loading streams
The old way: When a stream is loaded, completely change how many functions including update_imageview() work. The new way: When a steram is loaded, populate the list of filename/event IDs from the stream, and add the stream as a results source
Diffstat (limited to 'src/gui_peaksearch.c')
-rw-r--r--src/gui_peaksearch.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/gui_peaksearch.c b/src/gui_peaksearch.c
index 7c2f8a1f..24f35623 100644
--- a/src/gui_peaksearch.c
+++ b/src/gui_peaksearch.c
@@ -50,7 +50,6 @@ void update_peaks(struct crystfelproject *proj)
{
if ( proj->n_frames == 0 ) return;
if ( proj->cur_image == NULL ) return;
- if ( proj->stream != NULL ) return;
crystfel_image_view_set_show_peaks(CRYSTFEL_IMAGE_VIEW(proj->imageview),
proj->show_peaks);