mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-15 19:16:40 +01:00
Pass session description or route comment as default description
... to SaveTemplateDialog
This commit is contained in:
parent
c5c3498e98
commit
bb20327959
3 changed files with 4 additions and 5 deletions
|
|
@ -35,6 +35,7 @@ SaveTemplateDialog::SaveTemplateDialog (const std::string& name, const std::stri
|
|||
: ArdourDialog (_("Save as template"))
|
||||
{
|
||||
_name_entry.get_buffer()->set_text (name + _("-template"));
|
||||
_description_editor.get_buffer()->set_text (desc);
|
||||
_description_editor.set_wrap_mode (Gtk::WRAP_WORD);
|
||||
_description_editor.set_size_request(400, 300);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue