mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 13:28: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
|
@ -71,7 +71,7 @@ void AbstractView::model_did_update(unsigned int flags)
|
|||
m_cursor_index = {};
|
||||
if (!model()->is_within_range(m_drop_candidate_index))
|
||||
m_drop_candidate_index = {};
|
||||
selection().remove_matching([this](auto& index) { return !model()->is_within_range(index); });
|
||||
selection().remove_all_matching([this](auto& index) { return !model()->is_within_range(index); });
|
||||
|
||||
auto index = find_next_search_match(m_highlighted_search.view());
|
||||
if (index.is_valid())
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue