mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 11:18:11 +00:00
LibGUI: Rename ModelSelection::remove_matching => remove_all_matching
Let's be consistent with how Vector, HashTable and HashMap names these.
This commit is contained in:
parent
c6bcd0dfe4
commit
2375e1bcda
4 changed files with 4 additions and 4 deletions
|
@ -423,7 +423,7 @@ void FileSystemModel::handle_file_event(Core::FileWatcherEvent const& event)
|
|||
end_delete_rows();
|
||||
|
||||
for_each_view([&](AbstractView& view) {
|
||||
view.selection().remove_matching([&](auto& selection_index) {
|
||||
view.selection().remove_all_matching([&](auto& selection_index) {
|
||||
return selection_index.internal_data() == index.internal_data();
|
||||
});
|
||||
if (view.cursor_index().internal_data() == index.internal_data()) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue