From 947b61c1de7fa00243d4475157304e2d0a06f455 Mon Sep 17 00:00:00 2001 From: Karol Kosek Date: Fri, 13 Aug 2021 13:11:04 +0200 Subject: [PATCH] HackStudio: Update the window title after changing a file name This is a very similar fix as the previous commit, but here it's due to my oversight when I was adding an 'Save as..' feature. --- Userland/DevTools/HackStudio/HackStudioWidget.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Userland/DevTools/HackStudio/HackStudioWidget.cpp b/Userland/DevTools/HackStudio/HackStudioWidget.cpp index b888d3cbd5..bba00cf6c8 100644 --- a/Userland/DevTools/HackStudio/HackStudioWidget.cpp +++ b/Userland/DevTools/HackStudio/HackStudioWidget.cpp @@ -629,6 +629,8 @@ NonnullRefPtr HackStudioWidget::create_save_as_action() auto new_project_file = m_project->get_file(save_path.value()); m_open_files.set(save_path.value(), *new_project_file); m_open_files_vector.append(save_path.value()); + + update_window_title(); }); }