summaryrefslogtreecommitdiff
path: root/gtk2_ardour/plugin_selector.cc
diff options
context:
space:
mode:
authorPaul Davis <paul@linuxaudiosystems.com>2011-02-24 21:15:45 +0000
committerPaul Davis <paul@linuxaudiosystems.com>2011-02-24 21:15:45 +0000
commit36f9a82cefeba9c189b7e65d9dacc8cb5b7a3b5f (patch)
treea90c6c9807b056f6b3cb751b0b23099213095fa0 /gtk2_ardour/plugin_selector.cc
parent6177135857039241849fda418bdaf68ca4b09724 (diff)
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
Diffstat (limited to 'gtk2_ardour/plugin_selector.cc')
-rw-r--r--gtk2_ardour/plugin_selector.cc7
1 files changed, 5 insertions, 2 deletions
diff --git a/gtk2_ardour/plugin_selector.cc b/gtk2_ardour/plugin_selector.cc
index cfc5f69774..deed9735d3 100644
--- a/gtk2_ardour/plugin_selector.cc
+++ b/gtk2_ardour/plugin_selector.cc
@@ -457,11 +457,14 @@ 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()) {
finish = !interested_object->use_plugins (plugins);
- }
+ }
break;