scoring dialog box finished
[claws.git] / src / grouplist_dialog.c
index 882a72cee50fddec44cd4489acfbea88cdffc959..8bd650aff84ab0dbb9034e7ad3651fc8434d8eea 100644 (file)
@@ -202,6 +202,10 @@ static void grouplist_dialog_set_list(void)
 
        group_selected = NULL;
        group_list = news_get_group_list(item);
+       if (group_list == NULL) {
+               alertpanel_error(_("Can't retrieve group list."));
+               return;
+       }
 
        gtk_clist_clear(GTK_CLIST(group_clist));
        for(elt = group_list; elt != NULL ; elt = elt->next)