diff options
Diffstat (limited to 'src/fe-common/core/windows-layout.c')
-rw-r--r-- | src/fe-common/core/windows-layout.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/fe-common/core/windows-layout.c b/src/fe-common/core/windows-layout.c index e5fe6bf6..65741a73 100644 --- a/src/fe-common/core/windows-layout.c +++ b/src/fe-common/core/windows-layout.c @@ -70,7 +70,9 @@ static void sig_layout_restore_item(WINDOW_REC *window, const char *type, restore_win = window; protocol = chat_protocol_find(chat_type); - if (protocol->query_create != NULL) + if (protocol == NULL) + window_bind_add(window, tag, name); + else if (protocol->query_create != NULL) protocol->query_create(tag, name, TRUE); else { QUERY_REC *query; |