mirror of
https://github.com/Ardour/ardour.git
synced 2026-01-08 22:55:44 +01:00
use new Track API
This commit is contained in:
parent
06744f4c85
commit
cd4b7d4a3c
1 changed files with 2 additions and 2 deletions
|
|
@ -1255,7 +1255,7 @@ RouteTimeAxisView::use_new_playlist (bool prompt, vector<boost::shared_ptr<Playl
|
|||
if (copy) {
|
||||
tr->use_copy_playlist ();
|
||||
} else {
|
||||
tr->use_new_playlist ();
|
||||
tr->use_default_new_playlist ();
|
||||
}
|
||||
tr->playlist()->set_name (name);
|
||||
}
|
||||
|
|
@ -1718,7 +1718,7 @@ RouteTimeAxisView::use_playlist (RadioMenuItem *item, boost::weak_ptr<Playlist>
|
|||
boost::shared_ptr<Playlist> ipl = session()->playlists->by_name(playlist_name);
|
||||
if (!ipl) {
|
||||
// No playlist for this track for this take yet, make it
|
||||
track->use_new_playlist();
|
||||
track->use_default_new_playlist();
|
||||
track->playlist()->set_name(playlist_name);
|
||||
} else {
|
||||
track->use_playlist(track->data_type(), ipl);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue