mirror of
https://github.com/RGBCube/serenity
synced 2025-07-10 04:07:35 +00:00
LibGUI: Reify new child when handling child creation in FileSystemMode
This ensures that new files added after the setup of the FileSystemModel are also are watched.
This commit is contained in:
parent
d1da5b1f0d
commit
1a6affc64b
1 changed files with 1 additions and 0 deletions
|
@ -437,6 +437,7 @@ void FileSystemModel::handle_file_event(Core::FileWatcherEvent const& event)
|
|||
break;
|
||||
|
||||
auto child = maybe_child.release_nonnull();
|
||||
child->reify_if_needed();
|
||||
|
||||
bool const is_new_child_dir = S_ISDIR(child->mode);
|
||||
int insert_index = 0;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue