mirror of
https://github.com/netsurf-browser/netsurf
synced 2024-12-23 12:36:51 +03:00
Set the newly-created hotlist dirs to be "retain in memory" otherwise NetSurf crashes on hotlist cleanup.
This commit is contained in:
parent
c88c4fa214
commit
22fbe5abfc
@ -45,12 +45,12 @@ void ami_hotlist_add_default_dirs(struct tree *tree)
|
|||||||
{
|
{
|
||||||
if(ami_hotlist_find_dir(tree, messages_get("HotlistMenu")) == false) {
|
if(ami_hotlist_find_dir(tree, messages_get("HotlistMenu")) == false) {
|
||||||
tree_create_folder_node(tree, tree_get_root(tree),
|
tree_create_folder_node(tree, tree_get_root(tree),
|
||||||
messages_get("HotlistMenu"), true, false, false);
|
messages_get("HotlistMenu"), true, true, false);
|
||||||
}
|
}
|
||||||
|
|
||||||
if(ami_hotlist_find_dir(tree, messages_get("HotlistToolbar")) == false) {
|
if(ami_hotlist_find_dir(tree, messages_get("HotlistToolbar")) == false) {
|
||||||
tree_create_folder_node(tree, tree_get_root(tree),
|
tree_create_folder_node(tree, tree_get_root(tree),
|
||||||
messages_get("HotlistToolbar"), true, false, false);
|
messages_get("HotlistToolbar"), true, true, false);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user