aboutsummaryrefslogtreecommitdiff
path: root/src/gui_fom.c
diff options
context:
space:
mode:
authorThomas White <taw@physics.org>2021-02-09 15:33:01 +0100
committerThomas White <taw@physics.org>2021-02-09 15:33:01 +0100
commit60932e51e0e488555793793e3a802eeb6b988dd9 (patch)
treec21d69f0ea38f3ce154c7635727748363ec60722 /src/gui_fom.c
parent6dd93e7278f0ff3dc7be63b9dd5b28b30c17f3da (diff)
GUI: Load/save FoM parameters
Diffstat (limited to 'src/gui_fom.c')
-rw-r--r--src/gui_fom.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gui_fom.c b/src/gui_fom.c
index c117b7ee..1f8fe1cc 100644
--- a/src/gui_fom.c
+++ b/src/gui_fom.c
@@ -652,6 +652,8 @@ gint fom_sig(GtkWidget *widget, struct crystfelproject *proj)
GTK_FILE_CHOOSER_ACTION_OPEN);
gtk_file_chooser_set_local_only(GTK_FILE_CHOOSER(f->cell_chooser),
TRUE);
+ gtk_file_chooser_set_filename(GTK_FILE_CHOOSER(f->cell_chooser),
+ proj->fom_cell_filename);
gtk_box_pack_start(GTK_BOX(hbox), GTK_WIDGET(f->cell_chooser),
FALSE, FALSE, 4.0);
button = gtk_button_new_from_icon_name("edit-clear",