mirror of
https://github.com/irssi/irssi.git
synced 2026-08-09 03:40:16 +02: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
1 changed files with 2 additions and 1 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue