Browse Source

Show error if no plugins are found

Signed-off-by: falkTX <falktx@falktx.com>
tags/v1.0
falkTX 3 years ago
parent
commit
3183900f20
Signed by: falkTX <falktx@falktx.com> GPG Key ID: CDBAA37ABC74FBA0
1 changed files with 9 additions and 0 deletions
  1. +9
    -0
      plugins/Common/IldaeilUI.cpp

+ 9
- 0
plugins/Common/IldaeilUI.cpp View File

@@ -16,6 +16,7 @@
*/

#include "CarlaNativePlugin.h"
#include "CarlaBackendUtils.hpp"

#include "DistrhoUI.hpp"
#include "DistrhoPlugin.hpp"
@@ -514,6 +515,14 @@ protected:
++fPluginCount;
}
}
else
{
String error("There are no ");
error += getPluginTypeAsString(fPluginType);
error += " audio plugins on this system.";
fPopupError = error;
fDrawingState = kDrawingErrorInit;
}

if (! shouldThreadExit())
fPluginScanningFinished = true;


Loading…
Cancel
Save