aboutsummaryrefslogtreecommitdiff
path: root/src/fs/gnunet-fs-gtk-edit_publish_dialog.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/fs/gnunet-fs-gtk-edit_publish_dialog.c')
-rw-r--r--src/fs/gnunet-fs-gtk-edit_publish_dialog.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/fs/gnunet-fs-gtk-edit_publish_dialog.c b/src/fs/gnunet-fs-gtk-edit_publish_dialog.c
index ea5d7b5e..62ed17fd 100644
--- a/src/fs/gnunet-fs-gtk-edit_publish_dialog.c
+++ b/src/fs/gnunet-fs-gtk-edit_publish_dialog.c
@@ -484,8 +484,8 @@ GNUNET_GTK_edit_publication_delete_button_clicked_cb (GtkButton * button,
484 GNUNET_break (0); 484 GNUNET_break (0);
485 return; 485 return;
486 } 486 }
487 GNUNET_break (gtk_list_store_remove (ctx->meta_liststore, &iter)); 487 if (gtk_list_store_remove (ctx->meta_liststore, &iter))
488 gtk_tree_selection_select_iter (meta_selection, &iter); 488 gtk_tree_selection_select_iter (meta_selection, &iter);
489} 489}
490 490
491 491
@@ -578,8 +578,8 @@ GNUNET_GTK_edit_publication_keyword_list_del_button_clicked_cb (GtkButton *
578 GNUNET_break (0); 578 GNUNET_break (0);
579 return; 579 return;
580 } 580 }
581 GNUNET_break (gtk_list_store_remove (GTK_LIST_STORE (ctx->keywords_liststore), &iter)); 581 if (gtk_list_store_remove (GTK_LIST_STORE (ctx->keywords_liststore), &iter))
582 gtk_tree_selection_select_iter (keywords_selection, &iter); 582 gtk_tree_selection_select_iter (keywords_selection, &iter);
583 583
584 /* disable confirm button if keywords are required and we have no more keywords */ 584 /* disable confirm button if keywords are required and we have no more keywords */
585 if ( (! ctx->allow_no_keywords) && 585 if ( (! ctx->allow_no_keywords) &&