mirror of
https://github.com/fergalmoran/ladybird.git
synced 2025-12-26 11:20:03 +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:
committed by
Andreas Kling
parent
1ab318b391
commit
d1da5b1f0d
@@ -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();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user