diff --git a/Userland/DevTools/HackStudio/HackStudioWidget.cpp b/Userland/DevTools/HackStudio/HackStudioWidget.cpp index a06b07cc9f1..9372904cb9d 100644 --- a/Userland/DevTools/HackStudio/HackStudioWidget.cpp +++ b/Userland/DevTools/HackStudio/HackStudioWidget.cpp @@ -211,8 +211,6 @@ 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