diff options
author | Thomas White <taw@physics.org> | 2020-08-25 17:24:04 +0200 |
---|---|---|
committer | Thomas White <taw@physics.org> | 2020-08-25 17:24:04 +0200 |
commit | e6dd5c670fe12ea1ba8db5cecbd7cc87ff50c54f (patch) | |
tree | b10289e2b202e1aa9f84fdd181e15217493c6103 /src/gui_index.c | |
parent | 295b6184171bdd230e5e61f0ba2ad26d504062a8 (diff) |
Fix show peaks/refls logic
Diffstat (limited to 'src/gui_index.c')
-rw-r--r-- | src/gui_index.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/gui_index.c b/src/gui_index.c index 7d672ccd..e58a4c7e 100644 --- a/src/gui_index.c +++ b/src/gui_index.c @@ -351,6 +351,8 @@ static void run_indexing_once(struct crystfelproject *proj) static void index_one_response_sig(GtkWidget *dialog, gint resp, struct crystfelproject *proj) { + GtkWidget *w; + if ( resp == GTK_RESPONSE_OK ) { get_indexing_opts(proj, CRYSTFEL_INDEXING_OPTS(proj->indexing_opts)); @@ -359,6 +361,8 @@ static void index_one_response_sig(GtkWidget *dialog, gint resp, gtk_widget_destroy(dialog); proj->indexing_opts = NULL; + w = gtk_ui_manager_get_widget(proj->ui, "/ui/mainwindow/view/refls"); + gtk_check_menu_item_set_active(GTK_CHECK_MENU_ITEM(w), 1); } |