aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/gui_peaksearch.c2
1 files changed, 1 insertions, 1 deletions
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 ) {