FileManager: Place mkdir and touch actions below openings in tree view

This way, the Properties action will always be everywhere on bottom.
This commit is contained in:
Karol Kosek 2021-08-30 20:59:44 +02:00 committed by Andreas Kling
parent d184e5327a
commit 7cf5904124
Notes: sideshowbarker 2024-07-19 17:17:43 +09:00

View File

@ -1032,15 +1032,15 @@ int run_in_windowed_mode(String initial_location, String entry_focused_on_init)
tree_view_directory_context_menu->add_action(open_in_new_window_action);
tree_view_directory_context_menu->add_action(open_in_new_terminal_action);
tree_view_directory_context_menu->add_separator();
tree_view_directory_context_menu->add_action(mkdir_action);
tree_view_directory_context_menu->add_action(touch_action);
tree_view_directory_context_menu->add_action(cut_action);
tree_view_directory_context_menu->add_action(copy_action);
tree_view_directory_context_menu->add_action(paste_action);
tree_view_directory_context_menu->add_action(tree_view_delete_action);
tree_view_directory_context_menu->add_separator();
tree_view_directory_context_menu->add_action(properties_action);
tree_view_directory_context_menu->add_separator();
tree_view_directory_context_menu->add_action(mkdir_action);
tree_view_directory_context_menu->add_action(touch_action);
RefPtr<GUI::Menu> file_context_menu;
NonnullRefPtrVector<LauncherHandler> current_file_handlers;