mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-11-22 15:40:19 +00:00
HackStudio: Remove noop code when opening the project
28b1e66b51
made that
the m_all_editor_wrappers vector is cleared everytime a project path
is changed (the m_project if check is just for the app launch --
the vector is empty there anyway), making the code never execute.
This commit is contained in:
parent
a2cb5c862d
commit
012fc3f923
Notes:
sideshowbarker
2024-07-19 17:19:32 +09:00
Author: https://github.com/krkk Commit: https://github.com/SerenityOS/serenity/commit/012fc3f9231 Pull-request: https://github.com/SerenityOS/serenity/pull/9359
1 changed files with 0 additions and 2 deletions
|
@ -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<String> HackStudioWidget::selected_file_paths() const
|
||||
|
|
Loading…
Reference in a new issue