From 1333f39621796221c41245ec76430eefbc00a6f5 Mon Sep 17 00:00:00 2001 From: Paul Davis Date: Wed, 1 Feb 2023 18:10:56 -0700 Subject: [PATCH] searchable prefs: fix behavior after find failure --- .../{configuration_metadata.cc => configuration_metadata.h} | 0 gtk2_ardour/option_editor.cc | 1 + 2 files changed, 1 insertion(+) rename gtk2_ardour/{configuration_metadata.cc => configuration_metadata.h} (100%) diff --git a/gtk2_ardour/configuration_metadata.cc b/gtk2_ardour/configuration_metadata.h similarity index 100% rename from gtk2_ardour/configuration_metadata.cc rename to gtk2_ardour/configuration_metadata.h diff --git a/gtk2_ardour/option_editor.cc b/gtk2_ardour/option_editor.cc index 2d50876b41..27416ab0f5 100644 --- a/gtk2_ardour/option_editor.cc +++ b/gtk2_ardour/option_editor.cc @@ -897,6 +897,7 @@ OptionEditor::search () typedef boost::tokenizer > 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);