mirror of
https://github.com/RGBCube/serenity
synced 2025-07-24 15:37:43 +00: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
1 changed files with 2 additions and 0 deletions
|
@ -629,6 +629,8 @@ NonnullRefPtr<GUI::Action> HackStudioWidget::create_save_as_action()
|
||||||
auto new_project_file = m_project->get_file(save_path.value());
|
auto new_project_file = m_project->get_file(save_path.value());
|
||||||
m_open_files.set(save_path.value(), *new_project_file);
|
m_open_files.set(save_path.value(), *new_project_file);
|
||||||
m_open_files_vector.append(save_path.value());
|
m_open_files_vector.append(save_path.value());
|
||||||
|
|
||||||
|
update_window_title();
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue