mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-09-20 09:49:15 +03:00
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:
parent
6e64988396
commit
947b61c1de
Notes:
sideshowbarker
2024-07-19 17:18:50 +09:00
Author: https://github.com/krkk Commit: https://github.com/SerenityOS/serenity/commit/947b61c1de7 Pull-request: https://github.com/SerenityOS/serenity/pull/9380 Reviewed-by: https://github.com/itamar8910 ✅
@ -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();
|
||||
});
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user