mirror of
https://github.com/fergalmoran/ladybird.git
synced 2026-01-06 08:36:15 +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:
committed by
Andreas Kling
parent
ff2a1ee8b0
commit
5ca888132d
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user