diff options
author | Thomas White <taw@physics.org> | 2020-07-03 15:23:04 +0200 |
---|---|---|
committer | Thomas White <taw@physics.org> | 2020-07-29 18:53:45 +0200 |
commit | 0e8a06927065c275e5e235c9f6ebcb0a397efc81 (patch) | |
tree | cf4cee7832351910086fbe0da4b40297c5e71619 | |
parent | 92a3939402ee030755440af5b525e7af8155d34f (diff) |
Don't attempt to peak search when reading from stream
-rw-r--r-- | src/gui_peaksearch.c | 2 |
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 ) { |