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.
This commit is contained in:
Karol Kosek 2021-08-13 13:11:04 +02:00 committed by Andreas Kling
parent 6e64988396
commit 947b61c1de
Notes: sideshowbarker 2024-07-19 17:18:50 +09:00

View File

@ -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();
});
}