From 004d2b8ac3e73718f59117eab0d2b77d8ecb5b98 Mon Sep 17 00:00:00 2001 From: John Darrington Date: Sun, 16 Feb 2014 11:11:45 +0100 Subject: [PATCH] psppire-var-view.c: Allow multiple selections --- src/ui/gui/psppire-var-view.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/ui/gui/psppire-var-view.c b/src/ui/gui/psppire-var-view.c index 47c845cba2..f8625d5bd7 100644 --- a/src/ui/gui/psppire-var-view.c +++ b/src/ui/gui/psppire-var-view.c @@ -289,7 +289,10 @@ psppire_var_view_base_finalize (PsppireVarViewClass *class, static void psppire_var_view_init (PsppireVarView *vv) { + GtkTreeSelection* selection = gtk_tree_view_get_selection (GTK_TREE_VIEW (vv)); vv->cols = 0; + + gtk_tree_selection_set_mode (selection, GTK_SELECTION_MULTIPLE); } -- 2.30.2