mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-10 00:34:59 +01:00
Let user add a route template description on saving route templates
This commit is contained in:
parent
ae51d5fd4e
commit
245154d06a
7 changed files with 40 additions and 49 deletions
|
|
@ -31,10 +31,10 @@
|
|||
using namespace Gtk;
|
||||
using namespace ARDOUR;
|
||||
|
||||
SaveTemplateDialog::SaveTemplateDialog (const Session& s)
|
||||
SaveTemplateDialog::SaveTemplateDialog (const std::string& name, const std::string& desc)
|
||||
: ArdourDialog (_("Save as template"))
|
||||
{
|
||||
_name_editor.get_buffer()->set_text (s.name() + _("-template"));
|
||||
_name_editor.get_buffer()->set_text (name + _("-template"));
|
||||
_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