Unrecognized plugins are stored in the tagfile (FromPlug); but only set the user_set...
[ardour.git] / libs / ardour / plugin_manager.cc
index 1703265f349a1d6a98c02724cb70f365d60b18d3..233f986a7bbc0fb79bdf6b17bda67aa4bbe1259a 100644 (file)
@@ -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);
        }