diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/gui_peaksearch.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/gui_peaksearch.c b/src/gui_peaksearch.c index 334a624e..4f8f37d9 100644 --- a/src/gui_peaksearch.c +++ b/src/gui_peaksearch.c @@ -417,6 +417,8 @@ static void peaksearch_algo_changed(GtkWidget *combo, /* FIXME: Radii */ gtk_widget_show_all(proj->peak_vbox); + update_peaks(proj); + update_imageview(proj); proj->unsaved = 1; } @@ -450,6 +452,8 @@ gint peaksearch_sig(GtkWidget *widget, struct crystfelproject *proj) if ( proj->peak_params != NULL ) return FALSE; proj->show_peaks = 1; + crystfel_image_view_set_show_peaks(CRYSTFEL_IMAGE_VIEW(proj->imageview), + proj->show_peaks); w = gtk_ui_manager_get_widget(proj->ui, "/ui/mainwindow/view/peaks"); gtk_check_menu_item_set_active(GTK_CHECK_MENU_ITEM(w), 1); |