diff options
author | Robin Gareus <robin@gareus.org> | 2014-06-26 19:07:38 +0200 |
---|---|---|
committer | Robin Gareus <robin@gareus.org> | 2014-06-26 19:16:20 +0200 |
commit | 789cf92a23d6c6d96d3b7f5f410502c88a547c13 (patch) | |
tree | 091dfa474e70efa3ea68e2fd5f6f48ff37793025 /libs/ardour/session_transport.cc | |
parent | a74d7bd232c1b97a05be478c4389aa434470bb60 (diff) |
bump take-name after every recording
Diffstat (limited to 'libs/ardour/session_transport.cc')
-rw-r--r-- | libs/ardour/session_transport.cc | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/libs/ardour/session_transport.cc b/libs/ardour/session_transport.cc index 05233c030a..85b36e5a66 100644 --- a/libs/ardour/session_transport.cc +++ b/libs/ardour/session_transport.cc @@ -534,6 +534,11 @@ Session::non_realtime_stop (bool abort, int on_entry, bool& finished) if (did_record) { commit_reversible_command (); + /* increase take name */ + if (config.get_track_name_take () && !config.get_take_name ().empty()) { + string newname = config.get_take_name(); + config.set_take_name(bump_name_number (newname)); + } } if (_engine.running()) { |