summaryrefslogtreecommitdiff
path: root/Userland/DevTools
diff options
context:
space:
mode:
authorKarol Kosek <krkk@krkk.ct8.pl>2021-08-13 13:11:04 +0200
committerAndreas Kling <kling@serenityos.org>2021-08-20 11:47:00 +0200
commit947b61c1de7fa00243d4475157304e2d0a06f455 (patch)
treeab75ff26b0a23fd45412058d246088c9aadc23ba /Userland/DevTools
parent6e6498839674b7bfcddea6e40faf62ba3b5c447b (diff)
downloadserenity-947b61c1de7fa00243d4475157304e2d0a06f455.zip
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.
Diffstat (limited to 'Userland/DevTools')
-rw-r--r--Userland/DevTools/HackStudio/HackStudioWidget.cpp2
1 files changed, 2 insertions, 0 deletions
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<GUI::Action> 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();
});
}