From 8af5f1df0204356458b3b7663aef14c73074b3b0 Mon Sep 17 00:00:00 2001 From: Ben Loftis Date: Wed, 26 May 2021 07:10:51 -0500 Subject: [PATCH] Selecting a playlist is not currently an undo-able action. Stop trying to make an undo record for it. --- 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 e5218c9d76..121a33a8bb 100644 --- a/gtk2_ardour/editor.cc +++ b/gtk2_ardour/editor.cc @@ -4360,11 +4360,11 @@ Editor::restore_editing_space () void Editor::new_playlists (RouteUI* rui) { - begin_reversible_command (_("new playlists")); +/* begin_reversible_command (_("new playlists")); */ /* ToDo: this does not work */ vector > playlists; _session->playlists()->get (playlists); mapover_routes (sigc::bind (sigc::mem_fun (*this, &Editor::mapped_use_new_playlist), playlists), rui, ARDOUR::Properties::group_select.property_id); - commit_reversible_command (); +/* commit_reversible_command (); */ } /** @@ -4376,11 +4376,11 @@ Editor::new_playlists (RouteUI* rui) void Editor::copy_playlists (RouteUI* rui) { - begin_reversible_command (_("copy playlists")); +/* begin_reversible_command (_("copy playlists")); */ /* ToDo: this does not work */ vector > playlists; _session->playlists()->get (playlists); mapover_routes (sigc::bind (sigc::mem_fun (*this, &Editor::mapped_use_copy_playlist), playlists), rui, ARDOUR::Properties::group_select.property_id); - commit_reversible_command (); +/* commit_reversible_command (); */ } /** Clear the current playlist for a given track and also any others that belong