mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-07-31 05:09:12 +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
Notes:
sideshowbarker
2024-07-18 05:24:00 +09:00
Author: https://github.com/donaghylennon
Commit: 5ca888132d
Pull-request: https://github.com/SerenityOS/serenity/pull/9185
Reviewed-by: https://github.com/itamar8910 ✅
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