Selecting a playlist is not currently an undo-able action. Stop trying to make an undo record for it.
This commit is contained in:
parent
cc60b3b8d5
commit
8af5f1df02
@ -4360,11 +4360,11 @@ Editor::restore_editing_space ()
|
|||||||
void
|
void
|
||||||
Editor::new_playlists (RouteUI* rui)
|
Editor::new_playlists (RouteUI* rui)
|
||||||
{
|
{
|
||||||
begin_reversible_command (_("new playlists"));
|
/* begin_reversible_command (_("new playlists")); */ /* ToDo: this does not work */
|
||||||
vector<boost::shared_ptr<ARDOUR::Playlist> > playlists;
|
vector<boost::shared_ptr<ARDOUR::Playlist> > playlists;
|
||||||
_session->playlists()->get (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);
|
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
|
void
|
||||||
Editor::copy_playlists (RouteUI* rui)
|
Editor::copy_playlists (RouteUI* rui)
|
||||||
{
|
{
|
||||||
begin_reversible_command (_("copy playlists"));
|
/* begin_reversible_command (_("copy playlists")); */ /* ToDo: this does not work */
|
||||||
vector<boost::shared_ptr<ARDOUR::Playlist> > playlists;
|
vector<boost::shared_ptr<ARDOUR::Playlist> > playlists;
|
||||||
_session->playlists()->get (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);
|
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
|
/** Clear the current playlist for a given track and also any others that belong
|
||||||
|
Loading…
Reference in New Issue
Block a user