Initialize "may-create-vars" to TRUE by default.
[pspp-builds.git] / src / ui / gui / psppire-var-sheet.c
index 79446fb3a812c32cb498602d5627688caf310fed..256f3c93930a66dcbaf849ed2234f306414ad81b 100644 (file)
@@ -526,6 +526,7 @@ psppire_var_sheet_init (PsppireVarSheet *vs)
   g_object_unref (xml);
 
   vs->dispose_has_run = FALSE;
+  vs->may_create_vars = TRUE;
 
   for (i = 0 ; i < PSPPIRE_VAR_STORE_n_COLS ; ++i )
     {