diff src/bar_comment.c @ 1754:a4f3c93294c9

fixed selection handling in sidebar
author nadvornik
date Mon, 14 Sep 2009 21:25:10 +0000
parents 6146ec0c9ab9
children 956aab097ea7
line wrap: on
line diff
--- a/src/bar_comment.c	Sun Sep 13 21:08:40 2009 +0000
+++ b/src/bar_comment.c	Mon Sep 14 21:25:10 2009 +0000
@@ -83,11 +83,14 @@
 	comment = text_widget_text_pull(pcd->comment_view);
 
 	list = layout_selection_list(pcd->pane.lw);
+	list = file_data_process_groups_in_selection(list, FALSE, NULL);
+	
 	work = list;
 	while (work)
 		{
 		FileData *fd = work->data;
 		work = work->next;
+		if (fd == pcd->fd) continue;
 
 		if (append)
 			{