aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/cell_explorer.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/cell_explorer.c b/src/cell_explorer.c
index 5504c4b3..6ade77f4 100644
--- a/src/cell_explorer.c
+++ b/src/cell_explorer.c
@@ -1533,6 +1533,7 @@ static gint savecell_sig(GtkWidget *widget, CellWindow *w)
struct save_cell_data scd;
scd.orig_cell = get_cell(w);
+ scd.enforced_cell = NULL;
if ( scd.orig_cell == NULL ) return FALSE;
d = gtk_file_chooser_dialog_new("Save Unit Cell File",