From 36f9a82cefeba9c189b7e65d9dacc8cb5b7a3b5f Mon Sep 17 00:00:00 2001 From: Paul Davis Date: Thu, 24 Feb 2011 21:15:45 +0000 Subject: [PATCH] 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 --- gtk2_ardour/plugin_selector.cc | 7 +++++-- 1 file 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;