summaryrefslogtreecommitdiff
path: root/Userland/DevTools
diff options
context:
space:
mode:
authorLennon Donaghy <donaghylennon@gmail.com>2021-08-02 19:58:51 +0100
committerAndreas Kling <kling@serenityos.org>2021-08-22 10:30:06 +0200
commit3ce96134b53da494e7dab5ab1524c7f9e02ba86f (patch)
treeabf2a176abdf08492bfeb2d36af491cc722f4eac /Userland/DevTools
parent5ca888132dff6433006b1d6466d93011c91e959a (diff)
downloadserenity-3ce96134b53da494e7dab5ab1524c7f9e02ba86f.zip
HackStudio: Call update_gml_preview() to reset when opening new project
Diffstat (limited to 'Userland/DevTools')
-rw-r--r--Userland/DevTools/HackStudio/HackStudioWidget.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/Userland/DevTools/HackStudio/HackStudioWidget.cpp b/Userland/DevTools/HackStudio/HackStudioWidget.cpp
index cbd47fba3d..080029b324 100644
--- a/Userland/DevTools/HackStudio/HackStudioWidget.cpp
+++ b/Userland/DevTools/HackStudio/HackStudioWidget.cpp
@@ -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);