From cebfaf4d94c4349fb7d41b56df81bf9240c04b80 Mon Sep 17 00:00:00 2001 From: Robin Gareus Date: Thu, 27 May 2021 17:13:42 +0200 Subject: [PATCH] Fix PluginListChanged() emission order This is only relevant when manually scanning plugins, initiated from the UI thread. Call back (in same thread) needs to happen after detecting ambiguities and refilling the info lists. --- libs/ardour/plugin_manager.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libs/ardour/plugin_manager.cc b/libs/ardour/plugin_manager.cc index 3ed23653d6..0d733046a4 100644 --- a/libs/ardour/plugin_manager.cc +++ b/libs/ardour/plugin_manager.cc @@ -566,7 +566,6 @@ PluginManager::refresh (bool cache_only) } BootMessage (_("Plugin Scan Complete...")); - PluginListChanged (); /* EMIT SIGNAL */ PluginScanMessage(X_("closeme"), "", false); _cancel_scan = false; @@ -609,6 +608,7 @@ PluginManager::refresh (bool cache_only) detect_type_ambiguities (all_plugs); save_scanlog (); + PluginListChanged (); /* EMIT SIGNAL */ } void