diff options
author | Andreas Kling <kling@serenityos.org> | 2021-08-12 20:56:54 +0200 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2021-08-12 20:56:54 +0200 |
commit | 00603d9fd06a92b7028410b865527ecbd432fb2b (patch) | |
tree | f922e5b2a1b22949e841094dffb0b313adeb6306 /Userland/DevTools/HackStudio | |
parent | 75bc7be6222d8d892c556ff3fa07c8265bc0c621 (diff) | |
download | serenity-00603d9fd06a92b7028410b865527ecbd432fb2b.zip |
Revert "HackStudio: Remove noop code when opening the project"
This reverts commit 012fc3f92317b1f1c96a9829755593463d9630e1.
Diffstat (limited to 'Userland/DevTools/HackStudio')
-rw-r--r-- | Userland/DevTools/HackStudio/HackStudioWidget.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Userland/DevTools/HackStudio/HackStudioWidget.cpp b/Userland/DevTools/HackStudio/HackStudioWidget.cpp index 9372904cb9..a06b07cc9f 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<String> HackStudioWidget::selected_file_paths() const |