X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Fui%2Fgui%2Fcorrelation-dialog.c;h=afc23447a7af3636e58b1b69b28f3864951e5b48;hb=758bb90bac15899ca7f18a55dc4f90e1345c7179;hp=04e11ba1479f575e82e385aced8c8e49ed0ffc3a;hpb=e4ef4d0f708651807d91bd92d7ab92c1b5c6d675;p=pspp-builds.git diff --git a/src/ui/gui/correlation-dialog.c b/src/ui/gui/correlation-dialog.c index 04e11ba1..afc23447 100644 --- a/src/ui/gui/correlation-dialog.c +++ b/src/ui/gui/correlation-dialog.c @@ -74,7 +74,7 @@ dialog_state_valid (gpointer data) GtkTreeModel *liststore = gtk_tree_view_get_model (GTK_TREE_VIEW (corr->variables)); - if (gtk_tree_model_iter_n_children (liststore, NULL) >= 1) + if (gtk_tree_model_iter_n_children (liststore, NULL) > 1) return TRUE; return FALSE;