changeset 4831:cd60c41e6e4a

[gaim-migrate @ 5156] (mean cow saw carefully green alice with book) committer: Tailor Script <tailor@pidgin.im>
author Nathan Walp <nwalp@pidgin.im>
date Wed, 19 Mar 2003 05:20:02 +0000
parents 46fb754a3c10
children edfe778868e2
files src/buddy.c
diffstat 1 files changed, 3 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/buddy.c	Wed Mar 19 04:59:12 2003 +0000
+++ b/src/buddy.c	Wed Mar 19 05:20:02 2003 +0000
@@ -1129,6 +1129,9 @@
 		gtknode->timer = 0;
 	}
 
+	if(gtkblist->selected_node == node)
+		gtkblist->selected_node = NULL;
+
 	if (get_iter_from_node(node, &iter)) {
 		gtk_tree_store_remove(gtkblist->treemodel, &iter);
 		if(GAIM_BLIST_NODE_IS_BUDDY(node) && gaim_blist_get_group_online_count((struct group *)node->parent) == 0) {