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:
Karol Kosek 2021-08-09 23:40:38 +02:00 committed by Andreas Kling
parent a2cb5c862d
commit 012fc3f923
Notes: sideshowbarker 2024-07-19 17:19:32 +09:00

View file

@ -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