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:
parent
f98b77c4a2
commit
5cb945cedf
@ -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);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user