mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 19:37:35 +00:00
FileManager: Clear the selection after deleting files
This commit is contained in:
parent
f639445456
commit
39fc7359d4
1 changed files with 1 additions and 0 deletions
|
@ -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()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue