From 7e5a488d811dda42a13363599dbbdddc31128b71 Mon Sep 17 00:00:00 2001 From: Ben Loftis Date: Fri, 2 Mar 2018 17:35:18 -0600 Subject: [PATCH] Unrecognized plugins are stored in the tagfile (FromPlug); but only set the user_set flag if the user actually edited it. --- libs/ardour/plugin_manager.cc | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/libs/ardour/plugin_manager.cc b/libs/ardour/plugin_manager.cc index 1703265f34..233f986a7b 100644 --- a/libs/ardour/plugin_manager.cc +++ b/libs/ardour/plugin_manager.cc @@ -1553,7 +1553,9 @@ PluginManager::save_tags () node->set_property (X_("id"), (*i).unique_id); node->set_property (X_("tags"), (*i).tags); node->set_property (X_("name"), (*i).name); - node->set_property (X_("user-set"), "1"); + if ( (*i).tagtype >= FromUserFile ) { + node->set_property (X_("user-set"), "1"); + } root->add_child_nocopy (*node); }