more easily visible error message if a plugin fails to load after being selected for addition to a route
git-svn-id: svn://localhost/ardour2/branches/3.0@8955 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
parent
6177135857
commit
36f9a82cef
@ -457,6 +457,9 @@ PluginSelector::run ()
|
||||
PluginPtr p = load_plugin (pp);
|
||||
if (p) {
|
||||
plugins.push_back (p);
|
||||
} else {
|
||||
MessageDialog msg (string_compose (_("The plugin \"%1\" could not be loaded\n\nSee the Log window for more details (maybe)"), pp->name));
|
||||
msg.run ();
|
||||
}
|
||||
}
|
||||
if (interested_object && !plugins.empty()) {
|
||||
|
Loading…
Reference in New Issue
Block a user