From: John Darrington Date: Mon, 14 Dec 2009 18:21:51 +0000 (+0100) Subject: Show only numeric variables in correlations dialog X-Git-Tag: sid-i386-build122~6 X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=baba1d26c655ad69ed8bf023e25b23eff1bb37d7;p=pspp-builds.git Show only numeric variables in correlations dialog --- diff --git a/src/ui/gui/correlation-dialog.c b/src/ui/gui/correlation-dialog.c index 19bb7a70..ff6a2545 100644 --- a/src/ui/gui/correlation-dialog.c +++ b/src/ui/gui/correlation-dialog.c @@ -100,7 +100,10 @@ correlation_dialog (GObject *o, gpointer data) gtk_window_set_transient_for (GTK_WINDOW (dialog), GTK_WINDOW (de)); g_object_get (vs, "dictionary", &rd.dict, NULL); - g_object_set (source, "model", rd.dict, NULL); + g_object_set (source, + "model", rd.dict, + "predicate", var_is_numeric, + NULL); rd.variables = get_widget_assert (xml, "psppire-var-view1"); rd.significant = get_widget_assert (xml, "button-flag-significants");