From: John Darrington Date: Mon, 14 Dec 2009 18:51:16 +0000 (+0100) Subject: Don't allow string variables in ROC dialog as dependent variable X-Git-Tag: sid-i386-build122~4 X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d3bb6901f626d91b0234f5ff1f5f7c2f9023f863;p=pspp-builds.git Don't allow string variables in ROC dialog as dependent variable --- diff --git a/src/ui/gui/roc-dialog.c b/src/ui/gui/roc-dialog.c index 4d1a7d30..cf0a831f 100644 --- a/src/ui/gui/roc-dialog.c +++ b/src/ui/gui/roc-dialog.c @@ -155,6 +155,9 @@ roc_dialog (GObject *o, gpointer data) psppire_dialog_set_valid_predicate (PSPPIRE_DIALOG (dialog), dialog_state_valid, &rd); + psppire_selector_set_allow (PSPPIRE_SELECTOR (get_widget_assert (xml, "dep-selector")), + numeric_only); + response = psppire_dialog_run (PSPPIRE_DIALOG (dialog)); switch (response)