13
0

Unrecognized plugins are stored in the tagfile (FromPlug); but only set the user_set flag if the user actually edited it.

This commit is contained in:
Ben Loftis 2018-03-02 17:35:18 -06:00
parent 4734fc23f5
commit 7e5a488d81

View File

@ -1553,7 +1553,9 @@ PluginManager::save_tags ()
node->set_property (X_("id"), (*i).unique_id); node->set_property (X_("id"), (*i).unique_id);
node->set_property (X_("tags"), (*i).tags); node->set_property (X_("tags"), (*i).tags);
node->set_property (X_("name"), (*i).name); 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); root->add_child_nocopy (*node);
} }