VST plugin title fix #6467
authorRobin Gareus <robin@gareus.org>
Tue, 21 Jul 2015 19:49:34 +0000 (21:49 +0200)
committerRobin Gareus <robin@gareus.org>
Tue, 21 Jul 2015 19:49:34 +0000 (21:49 +0200)
libs/ardour/vst_plugin.cc

index 189dd93b5cde9aee2f57125b803836ce02ae4796..daf096e80ea204c1a7248a1b5fb06efe054d91a8 100644 (file)
@@ -614,6 +614,9 @@ VSTPlugin::unique_id () const
 const char *
 VSTPlugin::name () const
 {
+       if (!_info->name.empty ()) {
+               return _info->name.c_str();
+       }
        return _handle->name;
 }