summaryrefslogtreecommitdiff
path: root/Userland/DevTools/HackStudio/HackStudioWidget.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Userland/DevTools/HackStudio/HackStudioWidget.cpp')
-rw-r--r--Userland/DevTools/HackStudio/HackStudioWidget.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/Userland/DevTools/HackStudio/HackStudioWidget.cpp b/Userland/DevTools/HackStudio/HackStudioWidget.cpp
index 17b7363ba4..9ef2f5dc7a 100644
--- a/Userland/DevTools/HackStudio/HackStudioWidget.cpp
+++ b/Userland/DevTools/HackStudio/HackStudioWidget.cpp
@@ -202,6 +202,10 @@ void HackStudioWidget::open_project(const String& root_path)
m_project_tree_view->set_model(m_project->model());
m_project_tree_view->update();
}
+ if (m_git_widget) {
+ m_git_widget->change_repo(LexicalPath(root_path));
+ m_git_widget->refresh();
+ }
if (Debugger::is_initialized()) {
auto& debugger = Debugger::the();
debugger.reset_breakpoints();