From 0e8a06927065c275e5e235c9f6ebcb0a397efc81 Mon Sep 17 00:00:00 2001 From: Thomas White Date: Fri, 3 Jul 2020 15:23:04 +0200 Subject: Don't attempt to peak search when reading from stream --- src/gui_peaksearch.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/gui_peaksearch.c b/src/gui_peaksearch.c index 7a147278..ada652a6 100644 --- a/src/gui_peaksearch.c +++ b/src/gui_peaksearch.c @@ -49,8 +49,8 @@ void update_peaks(struct crystfelproject *proj) { if ( proj->n_frames == 0 ) return; - if ( proj->cur_image == NULL ) return; + if ( proj->stream != NULL ) return; if ( proj->show_peaks ) { -- cgit v1.2.3