aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorThomas White <taw@physics.org>2021-02-22 17:10:58 +0100
committerThomas White <taw@physics.org>2021-02-22 17:10:58 +0100
commitd07dac6a42eba56c9fe4b952f334ff7c3fee7b7b (patch)
treef071c0e58ace52e3abcfcb36d0c117f2e8b4cf53 /src
parenta3ff9efcb2cd7b89e5ec355c78e78a209167fec3 (diff)
Set peak and reflection radii after indexing one pattern
This ensures that the display matches the parameters that were last used.
Diffstat (limited to 'src')
-rw-r--r--src/gui_index.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/gui_index.c b/src/gui_index.c
index a63098f7..2e2779f5 100644
--- a/src/gui_index.c
+++ b/src/gui_index.c
@@ -571,6 +571,12 @@ static void index_one_response_sig(GtkWidget *dialog, gint resp,
get_indexing_opts(proj,
CRYSTFEL_INDEXING_OPTS(proj->indexing_opts));
run_indexing_once(proj);
+
+ crystfel_image_view_set_refl_box_size(CRYSTFEL_IMAGE_VIEW(proj->imageview),
+ proj->indexing_params.ir_inn);
+ crystfel_image_view_set_show_peaks(CRYSTFEL_IMAGE_VIEW(proj->imageview),
+ proj->show_peaks);
+ redraw_widget(proj->imageview);
}
gtk_widget_destroy(dialog);