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