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:
parent
05630d2d5d
commit
194dc8b25d
2 changed files with 44 additions and 2 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue