From 0271f36e1d41873e3b77c1bb424b1d1f725136fe Mon Sep 17 00:00:00 2001 From: Ben Loftis Date: Mon, 26 Jul 2021 13:15:17 -0500 Subject: [PATCH] Playlist UI tweaks: yet another place to remind the user which playlist operation they initiated --- gtk2_ardour/editor.cc | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/gtk2_ardour/editor.cc b/gtk2_ardour/editor.cc index 64c6315dda..8d56b4d8c1 100644 --- a/gtk2_ardour/editor.cc +++ b/gtk2_ardour/editor.cc @@ -4415,7 +4415,7 @@ void Editor::new_playlists_for_all_tracks (bool copy) { string name, gid; - if (stamp_new_playlist( _("New Playlist for ALL Tracks"), name,gid,copy)) { + if (stamp_new_playlist( copy ? _("Copy Playlist for ALL Tracks") : _("New Playlist for ALL Tracks"), name,gid,copy)) { vector > playlists; _session->playlists()->get (playlists); mapover_all_routes (sigc::bind (sigc::mem_fun (*this, &Editor::mapped_use_new_playlist), name, gid, copy, playlists)); @@ -4426,7 +4426,7 @@ void Editor::new_playlists_for_grouped_tracks (RouteUI* rui, bool copy) { string name, gid; - if (stamp_new_playlist( _("New Playlist for this track/group"), name,gid,copy)) { + if (stamp_new_playlist( copy ? _("Copy Playlist for this track/group") : _("New Playlist for this track/group"), name,gid,copy)) { vector > playlists; _session->playlists()->get (playlists); mapover_grouped_routes (sigc::bind (sigc::mem_fun (*this, &Editor::mapped_use_new_playlist), name, gid, copy, playlists), rui, ARDOUR::Properties::group_select.property_id); @@ -4437,7 +4437,7 @@ void Editor::new_playlists_for_selected_tracks (bool copy) { string name, gid; - if (stamp_new_playlist( _("New Playlist for Selected Tracks"), name,gid,copy)) { + if (stamp_new_playlist( copy ? _("Copy Playlist for Selected Tracks") : _("New Playlist for Selected Tracks"), name,gid,copy)) { vector > playlists; _session->playlists()->get (playlists); mapover_selected_routes (sigc::bind (sigc::mem_fun (*this, &Editor::mapped_use_new_playlist), name, gid, copy, playlists)); @@ -4448,7 +4448,7 @@ void Editor::new_playlists_for_armed_tracks (bool copy) { string name, gid; - if (stamp_new_playlist( _("New Playlist for Armed Tracks"), name,gid,copy)) { + if (stamp_new_playlist( copy ? _("Copy Playlist for Armed Tracks") : _("New Playlist for Armed Tracks"), name,gid,copy)) { vector > playlists; _session->playlists()->get (playlists); mapover_armed_routes (sigc::bind (sigc::mem_fun (*this, &Editor::mapped_use_new_playlist), name, gid, copy, playlists));