Test fix for rare crash

pull/247/head
parent ea87c713bb
commit 4c9b727061

@ -687,7 +687,7 @@ void yon_delete_confirmation_save(GtkWidget *self, dictionary *dict){
char *target;
char *group;
gtk_tree_model_get(model,&iter,0,&selected,1,&target,6,&group,-1);
if (selected){
if (selected&&!yon_char_is_empty(target)&&!yon_char_is_empty(group)){
if ((!strcmp(target,group))){
depends = yon_user_check_groups(window->list,target);
if (!yon_char_is_empty(depends)) {

Loading…
Cancel
Save