Make the split window menuitem apply to the var sheet as well as the data sheet
authorJohn Darrington <john@darrington.wattle.id.au>
Sun, 9 Apr 2017 06:38:27 +0000 (08:38 +0200)
committerJohn Darrington <john@darrington.wattle.id.au>
Sun, 9 Apr 2017 06:38:27 +0000 (08:38 +0200)
src/ui/gui/psppire-data-editor.c

index 9eff4cb4b837061479b74469cdd7e7e0cac0e967..4f1774ead25b903e10a19200cc33740017e94d85 100644 (file)
@@ -311,7 +311,9 @@ psppire_data_editor_set_property (GObject         *object,
   switch (prop_id)
     {
     case PROP_SPLIT_WINDOW:
-      g_object_set (de->data_sheet, "split", g_value_get_boolean (value), NULL);
+      de->split = g_value_get_boolean (value);
+      g_object_set (de->data_sheet, "split", de->split, NULL);
+      g_object_set (de->var_sheet, "split", de->split, NULL);
       break;
     case PROP_DATA_STORE:
       if ( de->data_store)