mirror of
https://github.com/RGBCube/serenity
synced 2025-07-24 21:07:34 +00:00
HackStudio: Make the title bar say "Hack Studio" too..
This commit is contained in:
parent
737504464a
commit
32c319ba81
2 changed files with 2 additions and 2 deletions
|
@ -247,7 +247,7 @@ void HackStudioWidget::open_file(const String& filename)
|
||||||
if (m_currently_open_file.starts_with(m_project->root_path()))
|
if (m_currently_open_file.starts_with(m_project->root_path()))
|
||||||
relative_file_path = m_currently_open_file.substring(m_project->root_path().length() + 1);
|
relative_file_path = m_currently_open_file.substring(m_project->root_path().length() + 1);
|
||||||
|
|
||||||
window()->set_title(String::formatted("{} - {} - HackStudio", relative_file_path, m_project->name()));
|
window()->set_title(String::formatted("{} - {} - Hack Studio", relative_file_path, m_project->name()));
|
||||||
m_project_tree_view->update();
|
m_project_tree_view->update();
|
||||||
|
|
||||||
current_editor_wrapper().filename_label().set_text(filename);
|
current_editor_wrapper().filename_label().set_text(filename);
|
||||||
|
|
|
@ -91,7 +91,7 @@ int main(int argc, char** argv)
|
||||||
|
|
||||||
s_hack_studio_widget = s_window->set_main_widget<HackStudioWidget>(project_path);
|
s_hack_studio_widget = s_window->set_main_widget<HackStudioWidget>(project_path);
|
||||||
|
|
||||||
s_window->set_title(String::formatted("{} - HackStudio", s_hack_studio_widget->project().name()));
|
s_window->set_title(String::formatted("{} - Hack Studio", s_hack_studio_widget->project().name()));
|
||||||
|
|
||||||
auto menubar = GUI::MenuBar::construct();
|
auto menubar = GUI::MenuBar::construct();
|
||||||
s_hack_studio_widget->initialize_menubar(menubar);
|
s_hack_studio_widget->initialize_menubar(menubar);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue