mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 08:58:11 +00:00
Help: Don't expand the whole tree of the selected node's parent
This now expands nodes unnecessarily with nested sections.
This commit is contained in:
parent
201c9d7c77
commit
3cecd612ba
1 changed files with 1 additions and 1 deletions
|
@ -250,7 +250,7 @@ void MainWidget::open_url(URL const& url)
|
|||
GUI::Application::the()->deferred_invoke([&, path = url.path()] {
|
||||
auto browse_view_index = m_manual_model->index_from_path(path);
|
||||
if (browse_view_index.has_value()) {
|
||||
m_browse_view->expand_tree(browse_view_index.value().parent());
|
||||
m_browse_view->expand_all_parents_of(browse_view_index.value());
|
||||
|
||||
auto page_and_section = m_manual_model->page_and_section(browse_view_index.value());
|
||||
if (!page_and_section.has_value())
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue