diff options
author | Thomas White <taw@physics.org> | 2020-09-08 12:09:15 +0200 |
---|---|---|
committer | Thomas White <taw@physics.org> | 2020-09-08 16:16:48 +0200 |
commit | 056dc691cbca0a69fb457e4c546df8d88655e478 (patch) | |
tree | c593f06547f1e4d19717e2380190f9e7ab819138 /src/crystfel_gui.c | |
parent | c5abcd75f237c3fc03e13a9550404a3a391b31c6 (diff) |
Select the right radio button in "Load data" dialogue box
Diffstat (limited to 'src/crystfel_gui.c')
-rw-r--r-- | src/crystfel_gui.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/crystfel_gui.c b/src/crystfel_gui.c index 3145c735..cef3674a 100644 --- a/src/crystfel_gui.c +++ b/src/crystfel_gui.c @@ -527,6 +527,7 @@ static gint finddata_sig(GtkWidget *widget, struct crystfelproject *proj) if ( proj->stream_filename != NULL ) { gtk_file_chooser_set_filename(GTK_FILE_CHOOSER(ctx->stream), proj->stream_filename); + gtk_toggle_button_set_active(GTK_TOGGLE_BUTTON(ls), TRUE); } gtk_box_pack_start(GTK_BOX(hbox), GTK_WIDGET(ctx->stream), TRUE, TRUE, 2.0); |