mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 03:17:35 +00:00
HackStudio: Clear ToDo entries upon opening new project
The ToDoEntries and ToDoEntriesWidget classes now have methods for clearing the entries, before entries would stay permanently, even after switching to a new project.
This commit is contained in:
parent
d48bd49002
commit
6076deae1d
5 changed files with 16 additions and 0 deletions
|
@ -199,6 +199,7 @@ void HackStudioWidget::open_project(const String& root_path)
|
|||
m_open_files.clear();
|
||||
m_open_files_vector.clear();
|
||||
add_new_editor(*m_editors_splitter);
|
||||
m_todo_entries_widget->clear();
|
||||
}
|
||||
m_project = Project::open_with_root_path(root_path);
|
||||
VERIFY(m_project);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue