mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-09-17 06:52:23 +00:00
HackStudio: Call update_gml_preview() to reset when opening new project
This commit is contained in:
parent
5ca888132d
commit
3ce96134b5
Notes:
sideshowbarker
2024-07-18 05:23:56 +09:00
Author: https://github.com/donaghylennon
Commit: 3ce96134b5
Pull-request: https://github.com/SerenityOS/serenity/pull/9185
Reviewed-by: https://github.com/itamar8910 ✅
1 changed files with 1 additions and 0 deletions
|
@ -203,6 +203,7 @@ void HackStudioWidget::open_project(const String& root_path)
|
||||||
m_todo_entries_widget->clear();
|
m_todo_entries_widget->clear();
|
||||||
m_terminal_wrapper->clear_including_history();
|
m_terminal_wrapper->clear_including_history();
|
||||||
stop_debugger_if_running();
|
stop_debugger_if_running();
|
||||||
|
update_gml_preview();
|
||||||
}
|
}
|
||||||
m_project = Project::open_with_root_path(root_path);
|
m_project = Project::open_with_root_path(root_path);
|
||||||
VERIFY(m_project);
|
VERIFY(m_project);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue