mirror of
https://github.com/irssi/irssi.git
synced 2024-11-03 04:27:19 -05:00
fe-text: clear hidelevel in layout if default
This is required, otherwise setting the hidelevel to the default will not be written in the layout and so won't persist.
This commit is contained in:
parent
cdfd75da98
commit
b264540f4e
@ -46,6 +46,8 @@ static void sig_layout_window_save(WINDOW_REC *window, CONFIG_NODE *node)
|
||||
char *level = bits2level(gui->view->hidden_level);
|
||||
iconfig_node_set_str(node, "hidelevel", level);
|
||||
g_free(level);
|
||||
} else {
|
||||
iconfig_node_set_str(node, "hidelevel", NULL);
|
||||
}
|
||||
|
||||
if (gui->use_scroll)
|
||||
|
Loading…
Reference in New Issue
Block a user