1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-31 11:48:10 +00:00

HackStudio: Leave one editor tab open on closing project

This commit is contained in:
Lennon Donaghy 2022-06-19 18:37:46 +01:00 committed by Sam Atkins
parent 010190beb8
commit d2aafe58c9

View file

@ -1543,10 +1543,10 @@ void HackStudioWidget::stop_debugger_if_running()
void HackStudioWidget::close_current_project()
{
m_editors_splitter->remove_all_children();
add_new_editor_tab_widget(*m_editors_splitter);
m_all_editor_wrappers.clear();
m_open_files.clear();
m_open_files_vector.clear();
add_new_editor(*m_current_editor_tab_widget);
m_find_in_files_widget->reset();
m_todo_entries_widget->clear();
m_terminal_wrapper->clear_including_history();