diff options
author | Ben Loftis <ben@harrisonconsoles.com> | 2018-03-02 15:57:58 -0600 |
---|---|---|
committer | Ben Loftis <ben@harrisonconsoles.com> | 2018-03-02 15:57:58 -0600 |
commit | 4734fc23f575d209a231db095833ed74438db215 (patch) | |
tree | bbb8f2dfd8fb09863211d1484f80a6d51bf257f1 | |
parent | 0f9ca82684a187be6b0165426ffd76be893aa995 (diff) |
Allow successive changes from the Gui to set tags.
-rw-r--r-- | libs/ardour/plugin_manager.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libs/ardour/plugin_manager.cc b/libs/ardour/plugin_manager.cc index e506d5db0b..1703265f34 100644 --- a/libs/ardour/plugin_manager.cc +++ b/libs/ardour/plugin_manager.cc @@ -1613,7 +1613,7 @@ PluginManager::set_tags (PluginType t, string id, string tag, std::string name, PluginTagList::const_iterator i = find (ptags.begin(), ptags.end(), ps); if (i == ptags.end()) { ptags.insert (ps); - } else if ( (uint32_t) ttype > (uint32_t) (*i).tagtype ) { // only overwrite if we are more important than the existing. Gui > UserFile > FactoryFile > Plugin + } else if ( (uint32_t) ttype >= (uint32_t) (*i).tagtype ) { // only overwrite if we are more important than the existing. Gui > UserFile > FactoryFile > Plugin ptags.erase (ps); ptags.insert (ps); } |