Leaving from some channel didn't update status bar.

git-svn-id: http://svn.irssi.org/repos/irssi/trunk@261 dbcabf3a-b0e7-0310-adc4-f8d773084564
This commit is contained in:
Timo Sirainen 2000-06-01 17:08:30 +00:00 committed by cras
commit 6233d6d9bf
2 changed files with 4 additions and 3 deletions

View file

@ -71,8 +71,8 @@ void window_remove_item(WINDOW_REC *window, WI_ITEM_REC *item)
window->items = g_slist_remove(window->items, item);
if (window->active == item) {
window->active = window->items == NULL ? NULL :
window->items->data;
window_item_set_active(window, window->items == NULL ? NULL :
window->items->data);
}
signal_emit("window item remove", 2, window, item);