mirror of
https://github.com/irssi/irssi.git
synced 2026-08-11 04:43:34 +02:00
When /SET autoclose_windows is ON, don't destroy windows if they have
some level set (like /join -w + /part in status window) git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1327 dbcabf3a-b0e7-0310-adc4-f8d773084564
This commit is contained in:
parent
ab5166033c
commit
1a61f989e1
4 changed files with 13 additions and 8 deletions
|
|
@ -83,9 +83,8 @@ static void signal_query_destroyed(QUERY_REC *query)
|
|||
if (window != NULL) {
|
||||
window_item_destroy((WI_ITEM_REC *) query);
|
||||
|
||||
if (window->items == NULL && windows->next != NULL &&
|
||||
!query->unwanted && settings_get_bool("autoclose_windows"))
|
||||
window_destroy(window);
|
||||
if (!query->unwanted)
|
||||
window_auto_destroy(window);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue