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:
commit
b96a41cf3d
@ -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)
|
||||||
|
Loading…
Reference in New Issue
Block a user