diff options
author | Sakari Bergen <sakari.bergen@beatwaves.net> | 2012-06-24 11:36:33 +0000 |
---|---|---|
committer | Sakari Bergen <sakari.bergen@beatwaves.net> | 2012-06-24 11:36:33 +0000 |
commit | 04416e2d1df3cc8d9f014765e5ca5ce818b7b4d7 (patch) | |
tree | 91db5e6aad9cee2eb624ccd6d8507c62f8f6a5cc /libs/ardour/export_format_specification.cc | |
parent | e58e614f2046bf6275a99c24c74a5795b6680a1f (diff) |
In export format dialog, show preview of generated part of description. Fix to #0004941
git-svn-id: svn://localhost/ardour2/branches/3.0@12911 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'libs/ardour/export_format_specification.cc')
-rw-r--r-- | libs/ardour/export_format_specification.cc | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/libs/ardour/export_format_specification.cc b/libs/ardour/export_format_specification.cc index 763f507de4..9e57b7c406 100644 --- a/libs/ardour/export_format_specification.cc +++ b/libs/ardour/export_format_specification.cc @@ -524,11 +524,13 @@ ExportFormatSpecification::set_format (boost::shared_ptr<ExportFormat> format) } string -ExportFormatSpecification::description () +ExportFormatSpecification::description (bool include_name) { string desc; - desc = _name + ": "; + if (include_name) { + desc = _name + ": "; + } if (_normalize) { desc += _("normalize, "); |