mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-06 23:05:04 +01:00
Allow to clear LV2 plugin scan info
This commit is contained in:
parent
e658056cd7
commit
5b77e348e7
1 changed files with 8 additions and 0 deletions
|
|
@ -1079,6 +1079,14 @@ PluginManager::get_ladspa_category (uint32_t plugin_id)
|
|||
void
|
||||
PluginManager::lv2_plugin (std::string const& uri, PluginScanLogEntry::PluginScanResult sr, std::string const& msg, bool reset)
|
||||
{
|
||||
if (reset && msg.empty ()) {
|
||||
PluginScanLog::iterator j = _plugin_scan_log.find (PSLEPtr (new PluginScanLogEntry (LV2, uri)));
|
||||
if (j != _plugin_scan_log.end ()) {
|
||||
_plugin_scan_log.erase (j);
|
||||
}
|
||||
return;
|
||||
}
|
||||
|
||||
PSLEPtr psle (scan_log_entry (LV2, uri));
|
||||
if (reset) {
|
||||
psle->reset ();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue