aboutsummaryrefslogtreecommitdiff
path: root/src/crystfelindexingopts.h
diff options
context:
space:
mode:
authorThomas White <taw@physics.org>2020-09-01 12:48:40 +0200
committerThomas White <taw@physics.org>2020-09-01 12:48:49 +0200
commit4bb477999843f1c14d81672b83607c7394e740b5 (patch)
treeebc068aa700e6af55942ab1aba7b10eb62718264 /src/crystfelindexingopts.h
parent4bed8bd2baa0aa7e126084db41c315843a19b566 (diff)
Keep a separate record of unit cell file
There seems to be no way to get a clear answer from the GtkFileChooser about whether a file is actually set. Instead, it now keeps a separate record which is set to NULL when the "clear" button is pressed, and set to the filename from the GtkFileChooserButton on the "file-set" signal.
Diffstat (limited to 'src/crystfelindexingopts.h')
-rw-r--r--src/crystfelindexingopts.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/crystfelindexingopts.h b/src/crystfelindexingopts.h
index 58ba39bf..197f8863 100644
--- a/src/crystfelindexingopts.h
+++ b/src/crystfelindexingopts.h
@@ -54,6 +54,7 @@ struct _crystfelindexingopts
GtkNotebook parent_instance;
/*< private >*/
+ char *cell_file;
GtkWidget *cell_chooser;
GtkWidget *auto_indm;
GtkWidget *indm_chooser;