From: John Darrington Date: Sun, 9 Apr 2017 06:38:27 +0000 (+0200) Subject: Make the split window menuitem apply to the var sheet as well as the data sheet X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2ef0e36748824b327de66083542d3257e18fa4f6;p=pspp Make the split window menuitem apply to the var sheet as well as the data sheet --- diff --git a/src/ui/gui/psppire-data-editor.c b/src/ui/gui/psppire-data-editor.c index 9eff4cb4b8..4f1774ead2 100644 --- a/src/ui/gui/psppire-data-editor.c +++ b/src/ui/gui/psppire-data-editor.c @@ -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)