mirror of
https://github.com/Ardour/ardour.git
synced 2026-01-08 14:45:43 +01:00
Show plugin-type in processor-window title
This commit is contained in:
parent
07df51fbc7
commit
ec1d9022b2
1 changed files with 4 additions and 3 deletions
|
|
@ -4313,12 +4313,13 @@ ProcessorBox::generate_processor_title (boost::shared_ptr<PluginInsert> pi)
|
|||
maker += " ...";
|
||||
}
|
||||
|
||||
SessionObject* owner = pi->owner();
|
||||
SessionObject* owner = pi->owner ();
|
||||
std::string type = PluginManager::plugin_type_name (pi->type ());
|
||||
|
||||
if (owner) {
|
||||
return string_compose(_("%1: %2 (by %3)"), owner->name(), pi->name(), maker);
|
||||
return string_compose(_("%1: %2 (by %3) [%4]"), owner->name(), pi->name(), maker, type);
|
||||
} else {
|
||||
return string_compose(_("%1 (by %2)"), pi->name(), maker);
|
||||
return string_compose(_("%1 (by %2) [%3]"), pi->name(), maker, type);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue