diff --git a/Userland/DevTools/HackStudio/HackStudioWidget.cpp b/Userland/DevTools/HackStudio/HackStudioWidget.cpp index 9372904cb9d..a06b07cc9f1 100644 --- a/Userland/DevTools/HackStudio/HackStudioWidget.cpp +++ b/Userland/DevTools/HackStudio/HackStudioWidget.cpp @@ -211,6 +211,8 @@ void HackStudioWidget::open_project(const String& root_path) debugger.reset_breakpoints(); debugger.set_source_root(m_project->root_path()); } + for (auto& editor_wrapper : m_all_editor_wrappers) + editor_wrapper.set_project_root(LexicalPath(m_project->root_path())); } Vector HackStudioWidget::selected_file_paths() const