Parcourir la source

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!
Karol Kosek il y a 4 ans
Parent
commit
c1dc9e6de2
1 fichiers modifiés avec 1 ajouts et 0 suppressions
  1. 1 0
      Userland/Applications/FileManager/main.cpp

+ 1 - 0
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);