summaryrefslogtreecommitdiff
path: root/Userland/Applications/FileManager
diff options
context:
space:
mode:
authorKarol Kosek <krkk@krkk.ct8.pl>2021-07-22 00:42:56 +0200
committerGunnar Beutner <gunnar@beutner.name>2021-08-01 12:12:59 +0200
commitc1dc9e6de257b0034cd87558cfc25db246ea74ff (patch)
tree612401918c61c455c527af55877ddc0b74f4af4d /Userland/Applications/FileManager
parent079dec11d3216f650a2773d9d9eba9c87e6c71c3 (diff)
downloadserenity-c1dc9e6de257b0034cd87558cfc25db246ea74ff.zip
FileManager: Add the rename action to the toolbar
When I was adding the action in #8713, the action did not have an icon yet. Now, since it has an icon now, we can add it to the toolbar!
Diffstat (limited to 'Userland/Applications/FileManager')
-rw-r--r--Userland/Applications/FileManager/main.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/Userland/Applications/FileManager/main.cpp b/Userland/Applications/FileManager/main.cpp
index 6dbae1ede6..20cf7e4586 100644
--- a/Userland/Applications/FileManager/main.cpp
+++ b/Userland/Applications/FileManager/main.cpp
@@ -913,6 +913,7 @@ int run_in_windowed_mode(RefPtr<Core::ConfigFile> config, String initial_locatio
main_toolbar.add_action(mkdir_action);
main_toolbar.add_action(touch_action);
main_toolbar.add_action(focus_dependent_delete_action);
+ main_toolbar.add_action(directory_view.rename_action());
main_toolbar.add_separator();
main_toolbar.add_action(cut_action);