1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 22:37:35 +00:00

HackStudio: Support renaming files from the tree view

This commit is contained in:
Marco Cutecchia 2021-09-24 18:31:08 +02:00 committed by Andreas Kling
parent 05630d2d5d
commit 194dc8b25d
2 changed files with 44 additions and 2 deletions

View file

@ -132,6 +132,7 @@ private:
void update_tree_view();
void update_window_title();
void on_cursor_change();
void file_renamed(String const& old_name, String const& new_name);
struct ProjectLocation {
String filename;
@ -186,6 +187,7 @@ private:
RefPtr<GUI::Action> m_open_selected_action;
RefPtr<GUI::Action> m_show_in_file_manager_action;
RefPtr<GUI::Action> m_delete_action;
RefPtr<GUI::Action> m_tree_view_rename_action;
RefPtr<GUI::Action> m_new_project_action;
RefPtr<GUI::Action> m_switch_to_next_editor;
RefPtr<GUI::Action> m_switch_to_previous_editor;