1
0
mirror of https://github.com/irssi/irssi.git synced 2025-01-03 14:56:47 -05:00

Don't autoclose windows with bound items.

git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1579 dbcabf3a-b0e7-0310-adc4-f8d773084564
This commit is contained in:
Timo Sirainen 2001-06-27 21:31:26 +00:00 committed by cras
parent f98b77c4a2
commit 5cb945cedf

View File

@ -134,7 +134,8 @@ void window_destroy(WINDOW_REC *window)
void window_auto_destroy(WINDOW_REC *window)
{
if (settings_get_bool("autoclose_windows") && windows->next != NULL &&
window->items == NULL && window->level == 0)
window->items == NULL && window->bound_items == NULL &&
window->level == 0)
window_destroy(window);
}