瀏覽代碼

HackStudio: Make the title bar say "Hack Studio" too..

Andreas Kling 4 年之前
父節點
當前提交
32c319ba81
共有 2 個文件被更改,包括 2 次插入2 次删除
  1. 1 1
      DevTools/HackStudio/HackStudioWidget.cpp
  2. 1 1
      DevTools/HackStudio/main.cpp

+ 1 - 1
DevTools/HackStudio/HackStudioWidget.cpp

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

+ 1 - 1
DevTools/HackStudio/main.cpp

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