1
0
mirror of https://github.com/irssi/irssi.git synced 2024-11-03 04:27:19 -05:00

Merge pull request #951 from dwfreed/patch-1

fe-text: clear hidelevel in layout if default
This commit is contained in:
ailin-nemui 2018-10-05 10:47:12 +02:00 committed by GitHub
commit b96a41cf3d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -46,6 +46,8 @@ static void sig_layout_window_save(WINDOW_REC *window, CONFIG_NODE *node)
char *level = bits2level(gui->view->hidden_level); char *level = bits2level(gui->view->hidden_level);
iconfig_node_set_str(node, "hidelevel", level); iconfig_node_set_str(node, "hidelevel", level);
g_free(level); g_free(level);
} else {
iconfig_node_set_str(node, "hidelevel", NULL);
} }
if (gui->use_scroll) if (gui->use_scroll)