From 2ef0e36748824b327de66083542d3257e18fa4f6 Mon Sep 17 00:00:00 2001 From: John Darrington Date: Sun, 9 Apr 2017 08:38:27 +0200 Subject: [PATCH] Make the split window menuitem apply to the var sheet as well as the data sheet --- src/ui/gui/psppire-data-editor.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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) -- 2.30.2