diff options
Diffstat (limited to 'libs/ardour')
-rw-r--r-- | libs/ardour/amp.cc | 2 | ||||
-rw-r--r-- | libs/ardour/ardour/amp.h | 1 |
2 files changed, 2 insertions, 1 deletions
diff --git a/libs/ardour/amp.cc b/libs/ardour/amp.cc index 880fe2575e..c62bb7ff69 100644 --- a/libs/ardour/amp.cc +++ b/libs/ardour/amp.cc @@ -59,7 +59,7 @@ Amp::Amp (Session& s, std::string type) std::string Amp::display_name() const { - return _("Fader"); + return _type == "trim" ? _("Trim") : _("Fader"); } bool diff --git a/libs/ardour/ardour/amp.h b/libs/ardour/ardour/amp.h index 04e4c16bf8..62f273e477 100644 --- a/libs/ardour/ardour/amp.h +++ b/libs/ardour/ardour/amp.h @@ -39,6 +39,7 @@ public: Amp(Session& s, std::string type = "amp"); std::string display_name() const; + std::string type() const { return _type;} bool visible () const; |