From: John Darrington Date: Sun, 7 May 2017 10:59:01 +0000 (+0200) Subject: PsppireImportAssistant: Clear the dictionary before re-adding the variables X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c058cde00bbe47f3f2e73063f0c7a2c5b50f409e;p=pspp PsppireImportAssistant: Clear the dictionary before re-adding the variables --- diff --git a/src/ui/gui/psppire-import-assistant.c b/src/ui/gui/psppire-import-assistant.c index eba14a480a..ca80ec869d 100644 --- a/src/ui/gui/psppire-import-assistant.c +++ b/src/ui/gui/psppire-import-assistant.c @@ -1626,6 +1626,7 @@ choose_column_names (PsppireImportAssistant *ia) { int i; unsigned long int generated_name_count = 0; + dict_clear (ia->dict); for (i = 0; i < gtk_tree_model_get_n_columns (ia->delimiters_model) - 1; ++i) { const gchar *candidate_name =