mirror of
https://github.com/fergalmoran/ladybird.git
synced 2026-01-05 16:14:38 +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:
committed by
Andreas Kling
parent
d1da5b1f0d
commit
1a6affc64b
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user