mirror of
https://github.com/netsurf-browser/netsurf
synced 2024-12-24 21:16:50 +03:00
Position new folders correctly for global history (fix 1547523)
svn path=/trunk/netsurf/; revision=3196
This commit is contained in:
parent
284368c50e
commit
6c65fea9b6
@ -298,9 +298,14 @@ bool global_history_add_internal(const char *url,
|
||||
}
|
||||
}
|
||||
|
||||
tree_set_node_selected(global_history_tree,
|
||||
parent, false);
|
||||
tree_set_node_expanded(global_history_tree,
|
||||
parent, false);
|
||||
tree_link_node(link, parent, before);
|
||||
|
||||
if (!global_history_init) {
|
||||
tree_recalculate_node(global_history_tree, parent, true);
|
||||
tree_recalculate_node_positions(global_history_tree,
|
||||
global_history_tree->root);
|
||||
tree_redraw_area(global_history_tree,
|
||||
|
Loading…
Reference in New Issue
Block a user