FileManager: Use the correct delete action in the treeview context menu

This commit is contained in:
Andreas Kling 2020-09-13 21:48:16 +02:00
parent ef50e5aaee
commit 67dca51f47
Notes: sideshowbarker 2024-07-19 02:26:09 +09:00

View file

@ -608,7 +608,7 @@ int run_in_windowed_mode(RefPtr<Core::ConfigFile> config, String initial_locatio
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(directory_view.delete_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();