summaryrefslogtreecommitdiff
path: root/gtk2_ardour/add_route_dialog.h
diff options
context:
space:
mode:
authorPaul Davis <paul@linuxaudiosystems.com>2013-04-01 20:45:57 -0400
committerPaul Davis <paul@linuxaudiosystems.com>2013-04-01 20:45:57 -0400
commit2da10afb6492815aa76e9b8bb771f09c10721991 (patch)
tree94585b3c9fff57fb83ca9090013db0170758ca73 /gtk2_ardour/add_route_dialog.h
parent851a3924955a52a220b9a811229abdb2e8c8315f (diff)
fix #5424: routes created from templates do not get names based on the user-supplied text from the add route dialog
Diffstat (limited to 'gtk2_ardour/add_route_dialog.h')
-rw-r--r--gtk2_ardour/add_route_dialog.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/gtk2_ardour/add_route_dialog.h b/gtk2_ardour/add_route_dialog.h
index f2e2168f14..6fe7266452 100644
--- a/gtk2_ardour/add_route_dialog.h
+++ b/gtk2_ardour/add_route_dialog.h
@@ -59,7 +59,8 @@ class AddRouteDialog : public ArdourDialog
ARDOUR::ChanCount channels ();
int count ();
- std::string name_template ();
+ std::string name_template () const;
+ bool name_template_is_default () const;
std::string track_template ();
ARDOUR::PluginInfoPtr requested_instrument ();