X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Fui%2Fgui%2Fcorrelation-dialog.c;h=afc23447a7af3636e58b1b69b28f3864951e5b48;hb=8f69116a2c31b8aed0527e225c368b3466da6c8d;hp=04e11ba1479f575e82e385aced8c8e49ed0ffc3a;hpb=e4ef4d0f708651807d91bd92d7ab92c1b5c6d675;p=pspp diff --git a/src/ui/gui/correlation-dialog.c b/src/ui/gui/correlation-dialog.c index 04e11ba147..afc23447a7 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;