diff --git a/ui/preference_utils.c b/ui/preference_utils.c index 2416e5c1ea..97ee0c88d2 100644 --- a/ui/preference_utils.c +++ b/ui/preference_utils.c @@ -219,7 +219,7 @@ column_prefs_has_custom(const gchar *custom_field) continue; cfmt = (fmt_data *) clp->data; - if (cfmt->fmt == COL_CUSTOM && strcmp(custom_field, cfmt->custom_fields) == 0) { + if (cfmt->fmt == COL_CUSTOM && cfmt->custom_occurrence == 0 && strcmp(custom_field, cfmt->custom_fields) == 0) { colnr = i; break; }