13
0

searchable prefs: fix behavior after find failure

This commit is contained in:
Paul Davis 2023-02-01 18:10:56 -07:00
parent ee151ee36e
commit 1333f39621
2 changed files with 1 additions and 0 deletions

View File

@ -897,6 +897,7 @@ OptionEditor::search ()
typedef boost::tokenizer<boost::char_separator<char> > tokenizer;
tokenizer t (search_for, sep);
search_targets.clear ();
for (tokenizer::iterator ti = t.begin (); ti != t.end (); ++ti) {
string word = *ti;
transform (word.begin (), word.end (), word.begin (), ::toupper);