FileManager: Clear the selection after deleting files

This commit is contained in:
implicitfield 2022-12-16 16:43:57 +02:00 committed by Tim Flynn
parent f639445456
commit 39fc7359d4
Notes: sideshowbarker 2024-07-17 08:59:18 +09:00

View file

@ -546,6 +546,7 @@ void DirectoryView::do_delete(bool should_confirm)
auto paths = selected_file_paths();
VERIFY(!paths.is_empty());
delete_paths(paths, should_confirm, window());
current_view().selection().clear();
}
bool DirectoryView::can_modify_current_selection()