mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 18:47:34 +00:00
HackStudio: Make FindInFilesWidget reset when opening new project
Add method to FindInFilesWidget which resets the model in order to clear the output when needed, and use this when a new project is opened.
This commit is contained in:
parent
ff2a1ee8b0
commit
5ca888132d
3 changed files with 7 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_find_in_files_widget->reset();
|
||||
m_todo_entries_widget->clear();
|
||||
m_terminal_wrapper->clear_including_history();
|
||||
stop_debugger_if_running();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue