1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-31 15:48:12 +00:00

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!
This commit is contained in:
Karol Kosek 2021-07-22 00:42:56 +02:00 committed by Gunnar Beutner
parent 079dec11d3
commit c1dc9e6de2

View file

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