From b5026c6ffcbcb94947435b78c1159d7cbb6214fd Mon Sep 17 00:00:00 2001 From: Matthew Firth Date: Tue, 27 Feb 2024 18:14:03 +0000 Subject: [PATCH] Only show deprec warn on export if ADM Exp Src plugins present Previous check always returned true, so was always shown --- .../src/reaper_adm/exportaction_admsourcescontainer.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/reaper-adm-extension/src/reaper_adm/exportaction_admsourcescontainer.cpp b/reaper-adm-extension/src/reaper_adm/exportaction_admsourcescontainer.cpp index 169588eae..f553396c0 100644 --- a/reaper-adm-extension/src/reaper_adm/exportaction_admsourcescontainer.cpp +++ b/reaper-adm-extension/src/reaper_adm/exportaction_admsourcescontainer.cpp @@ -68,7 +68,7 @@ std::vector AdmExportHandler::generateExportWarningStrings() auto admExportSources = getAdmExportSources(); std::vector msgs; - if (admExportVstSources) { + if (admExportVstSources && admExportVstSources->getAllFoundVsts()->size() > 0) { msgs.push_back(pluginDeprecationMessage); }