From 70529c0b5675930f9fbc10e1180ded376293adfc Mon Sep 17 00:00:00 2001 From: Ben Loftis Date: Tue, 1 Jun 2021 16:17:05 -0500 Subject: [PATCH] Playlist UI tweaks: renaming a plist should apply to all plists created in that group --- gtk2_ardour/route_ui.cc | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/gtk2_ardour/route_ui.cc b/gtk2_ardour/route_ui.cc index 7e9168cbed..03766301bd 100644 --- a/gtk2_ardour/route_ui.cc +++ b/gtk2_ardour/route_ui.cc @@ -2706,9 +2706,15 @@ RouteUI::rename_current_playlist () prompter.set_prompt (_("That name is already in use. Use this instead?")); prompter.set_initial_text (Playlist::bump_name (name, *_session)); } else { - pl->set_name (name); break; } } } + + if (name.length()) { + vector > playlists_gr = _session->playlists()->playlists_for_pgroup (pl->pgroup_id()); + for (vector >::iterator i = playlists_gr.begin(); i != playlists_gr.end(); ++i) { + (*i)->set_name (name); + } + } }