mirror of
https://github.com/RGBCube/serenity
synced 2025-05-28 10:15:07 +00:00
LibGUI: Reify children of root when invalidating in FileSystemModel
This ensures that the children of root also get watched
This commit is contained in:
parent
1ab318b391
commit
d1da5b1f0d
1 changed files with 2 additions and 0 deletions
|
@ -400,6 +400,8 @@ void FileSystemModel::invalidate()
|
|||
m_root->m_parent_of_root = true;
|
||||
|
||||
m_root->reify_if_needed();
|
||||
for (auto const& child : m_root->m_children)
|
||||
child->reify_if_needed();
|
||||
|
||||
Model::invalidate();
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue