X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Fui%2Fgui%2Fpsppire-dialog-action-histogram.c;h=f99000ac2898767180c2663e15971329effe02c2;hb=76762fd5bcdcdf30f45ef7775f7b2a3cad7cc0e0;hp=e6a6fe733e82381cb1c9f14147afc539500f9e6c;hpb=96994a54e60e9c95b8bba54c2281acf7059b1203;p=pspp diff --git a/src/ui/gui/psppire-dialog-action-histogram.c b/src/ui/gui/psppire-dialog-action-histogram.c index e6a6fe733e..f99000ac28 100644 --- a/src/ui/gui/psppire-dialog-action-histogram.c +++ b/src/ui/gui/psppire-dialog-action-histogram.c @@ -69,6 +69,9 @@ psppire_dialog_action_histogram_activate (PsppireDialogAction *a, GVariant *para pda->dialog = get_widget_assert (xml, "histogram-dialog"); pda->source = get_widget_assert (xml, "dict-view"); + g_object_set (pda->source, + "predicate", var_is_numeric, NULL); + act->variable = get_widget_assert (xml, "entry1"); act->curve = get_widget_assert (xml, "curve"); @@ -120,4 +123,3 @@ static void psppire_dialog_action_histogram_init (PsppireDialogActionHistogram *act) { } -