diff options
author | implicitfield <114500360+implicitfield@users.noreply.github.com> | 2022-12-16 16:43:57 +0200 |
---|---|---|
committer | Tim Flynn <trflynn89@pm.me> | 2022-12-19 08:03:24 -0500 |
commit | 39fc7359d4c2187eb6c1a8f7d1c6548bf552bc2b (patch) | |
tree | af315bc0c7053b336a69e89cb7ebd3df9dcd5c4c /Userland/Applications | |
parent | f6394454568d3a43e5b24d9978a93d08d98e19b7 (diff) | |
download | serenity-39fc7359d4c2187eb6c1a8f7d1c6548bf552bc2b.zip |
FileManager: Clear the selection after deleting files
Diffstat (limited to 'Userland/Applications')
-rw-r--r-- | Userland/Applications/FileManager/DirectoryView.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Userland/Applications/FileManager/DirectoryView.cpp b/Userland/Applications/FileManager/DirectoryView.cpp index a075eac129..4dd5682f17 100644 --- a/Userland/Applications/FileManager/DirectoryView.cpp +++ b/Userland/Applications/FileManager/DirectoryView.cpp @@ -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() |