Revert "HackStudio: Remove noop code when opening the project"

This reverts commit 012fc3f923.
This commit is contained in:
Andreas Kling 2021-08-12 20:56:54 +02:00
parent 75bc7be622
commit 00603d9fd0
Notes: sideshowbarker 2024-07-18 07:04:49 +09:00

View file

@ -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<String> HackStudioWidget::selected_file_paths() const