HackStudio: Call update_gml_preview() to reset when opening new project

This commit is contained in:
Lennon Donaghy 2021-08-02 19:58:51 +01:00 committed by Andreas Kling
parent 5ca888132d
commit 3ce96134b5
Notes: sideshowbarker 2024-07-18 05:23:56 +09:00

View file

@ -203,6 +203,7 @@ void HackStudioWidget::open_project(const String& root_path)
m_todo_entries_widget->clear();
m_terminal_wrapper->clear_including_history();
stop_debugger_if_running();
update_gml_preview();
}
m_project = Project::open_with_root_path(root_path);
VERIFY(m_project);