From 0e86e3337cd32d71449bb819049129127f1d1bc5 Mon Sep 17 00:00:00 2001 From: Ben Loftis Date: Mon, 31 May 2021 20:58:09 -0500 Subject: [PATCH] Playlist UI tweaks: relax requirement that playlists names must be unique (libardour part) --- libs/ardour/playlist.cc | 14 -------------- 1 file changed, 14 deletions(-) diff --git a/libs/ardour/playlist.cc b/libs/ardour/playlist.cc index a91ac9f759..14bbed0203 100644 --- a/libs/ardour/playlist.cc +++ b/libs/ardour/playlist.cc @@ -403,20 +403,6 @@ Playlist::_set_sort_id () bool Playlist::set_name (const string& str) { - /* in a typical situation, a playlist is being used - * by one diskstream and also is referenced by the - * Session. if there are more references than that, - * then don't change the name. - */ - - if (_refcnt > 2) { - return false; - } - - if (_session.playlists()->by_name (str)) { - return false; - } - bool ret = SessionObject::set_name (str); if (ret) { _set_sort_id ();