Emit variable callback even if label is null.
[pspp-builds.git] / src / data / variable.c
index 30cf03b134666cf8f6db1f457c8e3733b0b311e9..00c3f07f05fad273d79935a895242fb62799d0f6 100644 (file)
@@ -720,8 +720,8 @@ var_set_label (struct variable *v, const char *label)
       ss_truncate (&s, 255);
       if (!ss_is_empty (s))
         v->label = ss_xstrdup (s);
-      dict_var_changed (v);
     }
+  dict_var_changed (v);
 }
 
 /* Removes any variable label from V. */