mirror of
https://github.com/Ardour/ardour.git
synced 2026-01-06 13:45:43 +01:00
searchable prefs: fix behavior after find failure
This commit is contained in:
parent
ee151ee36e
commit
1333f39621
2 changed files with 1 additions and 0 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue