mirror of
https://github.com/irssi/irssi.git
synced 2026-08-09 20:00:23 +02:00
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:
parent
7a255bf839
commit
6233d6d9bf
2 changed files with 4 additions and 3 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue