diff options
Diffstat (limited to 'LibGUI/GTreeView.cpp')
-rw-r--r-- | LibGUI/GTreeView.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/LibGUI/GTreeView.cpp b/LibGUI/GTreeView.cpp index 475e3cdd81..aaf76ee677 100644 --- a/LibGUI/GTreeView.cpp +++ b/LibGUI/GTreeView.cpp @@ -293,6 +293,7 @@ void GTreeView::did_update_selection() auto index = model.selected_index(); if (!index.is_valid()) return; + ensure_metadata_for_index(index).open = true; auto parent = index.parent(); while (parent.is_valid()) { ensure_metadata_for_index(parent).open = true; |